Re: db_owner role in SQL 2k
From: Kalen Delaney (replies_at_public_newsgroups.com)
Date: 07/20/04
- Next message: Scott Meddows: "DB Chaining Problem"
- Previous message: Rob Nicholson: "Re: Concatinating joins into single field"
- In reply to: John: "db_owner role in SQL 2k"
- Next in thread: John: "Re: db_owner role in SQL 2k"
- Reply: John: "Re: db_owner role in SQL 2k"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Jul 2004 15:32:38 -0700
Hi John
Role membership doesn't affect the owner of an object. The default owner of
an object is the user who created it. Someone in the db_owner role still has
their own user name. However, a user in the db_owner role does have the
power to create objects owned by other users, including owned by dbo. But
the user has to explicitly list the owner name when creating the object:
CREATE TABLE dbo.NEW_TABLE
( .....)
-- HTH ---------------- Kalen Delaney SQL Server MVP www.SolidQualityLearning.com "John" <anonymous@discussions.microsoft.com> wrote in message news:0b7901c46e83$9424b020$a601280a@phx.gbl... > I have added a new user in the db_owner role in SQL 2k. > When this user creates a table or any other DB object, it > is owned by the user and not by dbo even though the ID is > a part of DBO. Is this a default behavior in SQL 2k or do > I need to do something different in order for the object > to be owned by DBO. > > Thanks. > > John
- Next message: Scott Meddows: "DB Chaining Problem"
- Previous message: Rob Nicholson: "Re: Concatinating joins into single field"
- In reply to: John: "db_owner role in SQL 2k"
- Next in thread: John: "Re: db_owner role in SQL 2k"
- Reply: John: "Re: db_owner role in SQL 2k"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|