troubleshooting Question

Grant permission for multiple SPs in one statement

Avatar of Easwaran Paramasivam
Easwaran ParamasivamFlag for India asked on
Microsoft SQL ServerMicrosoft SQL Server 2005Microsoft SQL Server 2008
3 Comments2 Solutions557 ViewsLast Modified:
Is there any way to give execute permission for a user for MULTIPLE SPs in one statement?
Say for Example, I have many SPs in db. But I would like to give execute permission for SP1, SP2, SP3 and SP4. How to achieve in one statement instead of 4 statements? Please help.


GRANT EXECUTE ON [dbo].[STORED_PROCEDURE_NAME] TO ' + 'MYUSER'
ASKER CERTIFIED SOLUTION
jogos

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros