Sqlserver-dba.com

SQL Server – CONTROL SERVER

A login can be granted CONTROL SERVER rights ,

 USE mater

GO

CREATE LOGIN test WITH PASSWORD = ‘myPassword123’;

GO

GRANT CONTROL SERVER TO test;

 

 CONTROL SERVER rights allows a login to do anything in SQL Server , but there is one subtle difference with sysadmin .

 It is possible to explicitly DENY  connect to the login with CONTROL SERVER rights ,

 DENY CONNECT TO test;

 Members of the syadmin bypass the DENY


Author: Jack Vamvas (http://www.sqlserver-dba.com)

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact