SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 change login for dbo
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Peter99
Constraint Violating Yak Guru

494 Posts

Posted - 12/14/2012 :  14:43:17  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/14/2012 :  14:51:30  Show Profile  Reply with Quote

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

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2067 Posts

Posted - 12/15/2012 :  11:42:49  Show Profile  Visit jackv's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000