Set Universal permissions for a SQL Server user

  • Kindly provide a script to assign universal permissions to the user "sa", and making it the owner of all databases.

    Thank you,

    Ritz

  • What do you mean by universal permissions?

  • SA is sysadmin and has all permissions on the server anyway. There's no need to assign it anything.

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Universal Permissions as in permission to execute all sorts of queries, work on all sort of objects etc.

  • As Gail said, the sa login has full privaleges within the instance. You do not need to explicitly grant any permissions to this login.

  • Also, as a side point, you should not really be using sa to run any queries etc. The sa login should be left well alone. You should logins and grant them access to the required databases to run the queries - I'd also suggest only giving them the minimum permissions that is required rather than universal permissions!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply