You are here: Re: Question: re-associate dbo with sa?? « MsSQL Server « IT news, forums, messages
Re: Question: re-associate dbo with sa??

Posted by Erland Sommarskog on 12/28/06 22:59

BD (robert.drea@gmail.com) writes:
> Out of curiosity, though - I presume that dbo is unique in this regard
> - ie., if the same thing had happened with a different ID, I'd have to
> reassociate it 'the hard way'... ?

Yes and no. That is dbo is he only you can fix with sp_changedbowner.
The others you can fix with sp_change_users_login. This is a little
less painful and dropping the users, since you don't lose permissions
and that.



--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация