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 2008 Forums
 SQL Server Administration (2008)
 change login for dbo

Author  Topic 

Peter99
Constraint Violating Yak Guru

498 Posts

Posted - 2012-12-14 : 14:43:17
Hi,

We have one user in database (dbo) that have login abc\xxxxx. That user left co. I want to change dbo to another login. How to do that. This database migrated from sql server 2000.

Thanks

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2012-12-14 : 14:51:30

you can use this system sp : sp_changedbowner
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2012-12-15 : 11:42:49
sp_changedowner is being replaced by ALTER AUTHORIZATION. BOL has some good examples

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
   

- Advertisement -