SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Grant permissions to a role

By Eugene Bereznuk,

A very simple script that will first create a role (if it does not exist yet) and then grant full permissions on tables, views and stored procedures to the newly created role. Of course, you can add any filtering (i.e. grant permissions only for tables beginning with "abc") or grant partial permissions (SELECT or DELETE only) for certain roles.

Total article views: 969 | Views in the last 30 days: 2
Related Articles

Grant Mass permissions

Create A role and grant it a permission on a DB Schemas.


Grant Permission to database object

How to grant a permission?


Grant permissions to objects

Grant permissions


Does anybody know "grant permission to multiple users" in sql

grant permission to multiple users


Grant permission to create table in SP

Grant permission to create table in SP