Change database owner using Alter Database 2008
hello,
i need change owner of bunch of databases, , not want use sp_changedbowner deprecated next sql releases. there way in alter database statement?
any appreciated
dave
dave sql developer
use alter authorization.
http://msdn.microsoft.com/en-us/library/ms187359.aspx
alter authorization on database::testdb testuser
best wishes, arbi --- please vote if find posting helpful or mark answered.
SQL Server > Transact-SQL
Comments
Post a Comment