Showing posts with label db_owner. Show all posts
Showing posts with label db_owner. Show all posts

Friday, February 24, 2012

dbo-owner

when I run the same scripts twice with different users (all having db_owner
rights), the SQL server duplicates the objects (for example, the stored
procedures).
How can I avoid it . If I define "dbo." for each object , it will be ok ?
thanksThat should do it !
HTH, Jens Suessmeyer.
--
http://www.sqlserver2005.de
--
"ft" <ft@.discussions.microsoft.com> schrieb im Newsbeitrag
news:636B38A4-CFCB-44F5-9775-1717A2409A16@.microsoft.com...
> when I run the same scripts twice with different users (all having
> db_owner
> rights), the SQL server duplicates the objects (for example, the stored
> procedures).
> How can I avoid it . If I define "dbo." for each object , it will be ok ?
> thanks
>

Sunday, February 19, 2012

dbo permissions

Hi!
is there a way to revoke "alter table" permission to db_owner role?
Thanks, in advance!
According to books on-line, you cannot change privileges of the fixed
database roles.
If possible, can you move the user to a user-defined database role with all
object privileges granted? This what we do in our shop. This will
eliminate the possibility that objects cannot be altered, dropped or created
on the fly..
"Francisco Castillo" <anonymous@.discussions.microsoft.com> wrote in message
news:2DC252B0-5755-4621-91E5-590D6644A30E@.microsoft.com...
> Hi!
> is there a way to revoke "alter table" permission to db_owner role?
> Thanks, in advance!
|||Hi,
I suggest you to assign the user the below database roles,
db_datareader
db_datawriter
after that give him the below previlages using a single grant command;
grant create procedure,create table,create view,create function to <User
name>
Thanks
Hari
MCDBA
"Eddy White" <1sg@.onewest.net> wrote in message
news:#fwdo24FEHA.2768@.tk2msftngp13.phx.gbl...
> According to books on-line, you cannot change privileges of the fixed
> database roles.
> If possible, can you move the user to a user-defined database role with
all
> object privileges granted? This what we do in our shop. This will
> eliminate the possibility that objects cannot be altered, dropped or
created
> on the fly..
> "Francisco Castillo" <anonymous@.discussions.microsoft.com> wrote in
message
> news:2DC252B0-5755-4621-91E5-590D6644A30E@.microsoft.com...
>

dbo permissions

Hi!
is there a way to revoke "alter table" permission to db_owner role?
Thanks, in advance!According to books on-line, you cannot change privileges of the fixed
database roles.
If possible, can you move the user to a user-defined database role with all
object privileges granted? This what we do in our shop. This will
eliminate the possibility that objects cannot be altered, dropped or created
on the fly..
"Francisco Castillo" <anonymous@.discussions.microsoft.com> wrote in message
news:2DC252B0-5755-4621-91E5-590D6644A30E@.microsoft.com...
> Hi!
> is there a way to revoke "alter table" permission to db_owner role?
> Thanks, in advance!|||Hi,
I suggest you to assign the user the below database roles,
db_datareader
db_datawriter
after that give him the below previlages using a single grant command;
grant create procedure,create table,create view,create function to <User
name>
Thanks
Hari
MCDBA
"Eddy White" <1sg@.onewest.net> wrote in message
news:#fwdo24FEHA.2768@.tk2msftngp13.phx.gbl...
> According to books on-line, you cannot change privileges of the fixed
> database roles.
> If possible, can you move the user to a user-defined database role with
all
> object privileges granted? This what we do in our shop. This will
> eliminate the possibility that objects cannot be altered, dropped or
created
> on the fly..
> "Francisco Castillo" <anonymous@.discussions.microsoft.com> wrote in
message
> news:2DC252B0-5755-4621-91E5-590D6644A30E@.microsoft.com...
>

dbo can't bring DB online

I have a user with db_owner status who can take a DB offline, but for some r
eason can't bring it back online. The DB is on a cluster server. Is there an
y way to explicitly script or set this ability for SQL Server 2000? Thanks.Hi Journika
Database role membership is only stored in the database itself. So once the
database is offline, there is no way to know who is in the db_owner role of
the offline database. Bringing the db back online will have to be done by
someone with privilege at the server level, or by the true owner of the
database, as listed in sysdatabses (and viewed through sp_helpdb)
HTH
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com
"Journika" <anonymous@.discussions.microsoft.com> wrote in message
news:3CFB7F32-C517-4818-8AEC-7A9B135F3017@.microsoft.com...
> I have a user with db_owner status who can take a DB offline, but for some
reason can't bring it back online. The DB is on a cluster server. Is there
any way to explicitly script or set this ability for SQL Server 2000?
Thanks.