Administering SQL Server

Granting Permissions

Grant statement and object permissions that allow a user account to:

Note  It is possible to grant permissions only to user accounts in the current database, for objects in the current database. If a user needs permissions to objects in another database, create the user account in the other database, or grant the user account access to the other database, as well as the current database. System stored procedures are the exception because EXECUTE permissions are already granted to the public role, which allows everyone to execute them. However, after EXECUTE has been issued, the system stored procedures check the user's role membership. If the user is not a member of the appropriate fixed server or database role necessary to run the stored procedure, the stored procedure will not continue.

To allow access by granting permissions (on an object)

Transact-SQL

Enterprise Manager

Enterprise Manager

SQL-DMO

To grant statement permissions to users within a database

Transact-SQL

Enterprise Manager

Enterprise Manager

SQL-DMO

To grant permissions on multiple objects to a user, group, or role

Transact-SQL

Enterprise Manager

Enterprise Manager

SQL-DMO

To grant, deny, or revoke permissions on multiple objects to a user-defined role

Enterprise Manager

Enterprise Manager