SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
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  

Constraint Violating Yak Guru

494 Posts

Posted - 12/14/2012 :  14:43:17  Show Profile  Reply with Quote

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.


Flowing Fount of Yak Knowledge

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

Flowing Fount of Yak Knowledge

United Kingdom
2124 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
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.06 seconds. Powered By: Snitz Forums 2000