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

system schemas owned by user Expand / Collapse
Author
Message
Posted Tuesday, August 14, 2012 10:28 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, July 25, 2014 7:38 AM
Points: 40, Visits: 569
Hello,
In one of our databases, the following schemas are showing as owned by a regular user:
db_datareader
db_denydatawriter
db_owner

the other schemas though, like db_ddladmin, is owned by itself -- ddlamin.

can i simply change the schemas listed above to be owned by itself? meaning, db_datareader will be owned by db_datareader?

thank you
Post #1344861
Posted Tuesday, August 14, 2012 10:36 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 12:50 PM
Points: 33,073, Visits: 15,187
I think so. Test it first on a backup, but all of my schemas like that are owned by themselves.






Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1344868
Posted Wednesday, August 15, 2012 1:05 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, July 25, 2014 7:38 AM
Points: 40, Visits: 569
yes, i tested it first, and then implemented it in production -- haven't heard any issues [yet].

thanks!
Post #1345493
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse