Microsoft SQL Server 2005 :Grant Execute Stored Procedure to USER

/* Create a new role for executing stored

   procedures */

CREATE ROLE db_executor



/* Grant stored procedure execute rights

   to the role */

GRANT EXECUTE TO db_executor



/* Add a user to the db_executor role */

EXEC sp_addrolemember 'db_executor', 'Username'

Comments

Popular posts from this blog

Agent Installation on Windows Server. SQL Server (Failover Cluster) target addition in OEM 12c

Oracle 10g/11g Linux:SMS the alert logs ORA- errors generated in timestamp

Oracle 11g: Install Instant Client 11.2.0.3.0 on Linux x86_64 Server.