SQL Server 2008 og nyere:
/* CREATE A NEW ROLE */
CREATE ROLE db_executor
/* GRANT EXECUTE TO THE ROLE */
GRANT EXECUTE TO db_executor
For kun en bruger (ikke en rolle):
USE [DBName]
GO
GRANT EXECUTE TO [user]
SQL Server 2008 og nyere:
/* CREATE A NEW ROLE */
CREATE ROLE db_executor
/* GRANT EXECUTE TO THE ROLE */
GRANT EXECUTE TO db_executor
For kun en bruger (ikke en rolle):
USE [DBName]
GO
GRANT EXECUTE TO [user]