SQL Server 2008 e versioni successive:
/* CREATE A NEW ROLE */
CREATE ROLE db_executor
/* GRANT EXECUTE TO THE ROLE */
GRANT EXECUTE TO db_executor
Solo per un utente (non un ruolo):
USE [DBName]
GO
GRANT EXECUTE TO [user]
SQL Server 2008 e versioni successive:
/* CREATE A NEW ROLE */
CREATE ROLE db_executor
/* GRANT EXECUTE TO THE ROLE */
GRANT EXECUTE TO db_executor
Solo per un utente (non un ruolo):
USE [DBName]
GO
GRANT EXECUTE TO [user]