Sql-server – Grant DBA permissions on a SQL server

sql server

I'm not a SQL admin, but I have rights to the SQL server granted from the old DBA that was with our company.

We have a new IT manager that wants DBA level permissions to our SQL servers and I don't know how to grant it to him.

POLITICS ASIDE as to whether it is a good idea to do this or not…

How can I grant DBA level (full) rights to a SQL server and all of its databases? Can I do it across all instances somehow?

Best Answer

Method 1: Connect to the SQL server via SQL Server Management Studio, create a login for the manager under the security\logins folder, in the General properties select either Windows or SQL authentication and fill out the fields accordingly, select the Server Roles properties and select the sysadmin checkbox, click OK to close the new login window.

Method 2: Connect to the SQL server via SQL Server Management Studio. Ask the manager to come over and create a login for himself.

Note: Both methods assume you're running at least SQL Server 2005. If you're running SQL server 7 or 2000, let us know.

Related Topic