Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How to change Filegroup's ownership (URGENT) Expand / Collapse
Author
Message
Posted Tuesday, December 15, 2009 4:10 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, August 19, 2014 12:26 AM
Points: 2,840, Visits: 3,963
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
Post #834392
Posted Tuesday, December 15, 2009 4:38 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: 2 days ago @ 12:43 PM
Points: 2,109, Visits: 5,419
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/
Post #834405
Posted Tuesday, December 15, 2009 4:39 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, August 1, 2014 8:28 AM
Points: 357, Visits: 910
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
Post #834406
Posted Tuesday, December 15, 2009 7:48 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 12:54 AM
Points: 42,813, Visits: 35,932
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 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #834510
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse