Grant Execute Permissions for all Stored Procedures 2005

Like the new Database Scope feature in 2005 as concerned with Granting execute permissions. You can now create a role and then grant execute at the Database level to give the role execute permissions on all stored procedures:

/* CREATE A NEW ROLE */
CREATE ROLE db_executor

/* GRANT EXECUTE TO THE ROLE */
GRANT EXECUTE TO db_exec
utor

Advertisements