Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change DBO Login name 1

Status
Not open for further replies.

dbrew0

Technical User
Joined
Dec 15, 2003
Messages
38
Location
US
Hi all,

After copying a user database I've noticed that the dbo user does not have a login name (the field is blank). How can I change the login name for the dbo user?

Thanks,
Dan B.
 
Use Databasewithoutowner

exec sp_changedbowner 'newonwernamehere'
 
Thanks Corran007,

That did the trick. It's tough being a newbie at this.

Thanks again,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top