Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 owner as dbo or user's name

Author  Topic 

Sun Foster
Aged Yak Warrior

515 Posts

Posted - 2006-04-18 : 08:33:52
Why some tables'owner are dbo some are users' name?
How to make all objects' owner as dbo?

nr
SQLTeam MVY

12543 Posts

Posted - 2006-04-18 : 09:15:00
If they are created by a login that's mapped to dbo in the databvase then they will be owned by dbo - otherwise the user.
See sp_changeobjectowner.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-04-18 : 21:45:34
also, before changing ownership, verify if the change will not break any application referencing to them...



--------------------
keeping it simple...
Go to Top of Page
   

- Advertisement -