Skip to content

Instantly share code, notes, and snippets.

@bvanskiver
Created February 7, 2015 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bvanskiver/baa1f040369f26c91d87 to your computer and use it in GitHub Desktop.
Save bvanskiver/baa1f040369f26c91d87 to your computer and use it in GitHub Desktop.
db_executor role
-- Create role and grant permissions
create role db_executor
grant execute to db_executor
-- Add user(s) to role
exec sp_addrolemember 'db_executor', 'username'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment