October 9, 2007 at 9:48 am
Help. A new application required installation of a new database on an existing SQL Server 2005 Enterprise Ed server. Somehow, the database User "dbo" got associated with the Login name we use for low level application users "DBuser".
When I try to delete the db_owner role for DBUser, I get an error stating that dbo cannot be changed.
I've tried reading BOL for answers, but I cannot find a clear-cut explanation of what I need to do. (I would like to change dbo to one of our existing Windows logins)
Elliott
October 9, 2007 at 9:56 am
- grant the login the needed rights (tables, views, sprocs,fn,...)
- sp_changedbowner 'sa',true
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
October 9, 2007 at 10:03 am
Thanks for the help.
Can I substitute a windows type login (Domain\Name) for the "sa" in the sp_changedbowner proc? We don't assign anyting to sa.
Elliott
October 9, 2007 at 10:35 am
yes you can, if the login exists on the server.
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply