December 15, 2009 at 4:10 am
It’s my lead requirement. My TL has given me list of databases, filegroups for which I have to change the owner from user name to sa.
can anybody tellme how to check and change owner of filegroup.
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
December 15, 2009 at 4:38 am
Could it be that you are mixing between file groups and schemas? File groups have no owner.
Adi
--------------------------------------------------------------
To know how to ask questions and increase the chances of getting asnwers:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
December 15, 2009 at 4:39 am
Ok my understanding is that the filegroups are "owned" by the database owner. And therefore you'd need to call the sp_changedbowner procedure. But wait about for one of the experts reply
December 15, 2009 at 7:48 am
Filegroups don't have owners. Databases have owners. Schemas have owners. Objects have owners.
Sounds like he wants the database owners to be changed. Can you confirm that?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply