April 23, 2015 at 4:06 am
user a is sysadmin.
user a has public role in db x
and nothing in db y
which takes precedence?
can the user do everything in all databases because he is sysadmin?
thank you.
April 23, 2015 at 4:09 am
A sysadmin has all rights in all databases and cannot be denied any permissions.
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
April 23, 2015 at 4:11 am
Thanks Gail, I find it confusing the way you can seemingly give permissions at the database level as well for a sysadmin.
Appreciate the swift response.
April 23, 2015 at 4:25 am
You can give permissions at any level, if the person is removed from the sysadmin role, the other permissions granted define what he can do. Additionally, granted permissions are always cumulative
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