|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, August 29, 2012 4:15 AM
Points: 26,
Visits: 177
|
|
-- Create a new role CREATE ROLE SP_Fn_executor
-- Grant execute to the created role GRANT EXECUTE TO SP_Fn_executor
The above statement would create a role and grant execute permission on all existing stored procedures and scalar functions. And as when we create new ones the permission would automatically be given to the Role.
|
|
|
|