SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Stored Procedure Permissions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Apollois
Starting Member

USA
49 Posts

Posted - 03/06/2004 :  18:25:15  Show Profile  Reply with Quote
Is there a way to create a role that has EXECUTE permissions all SPs in DB, and will automatically include any new SPs that are created?

Running:
SS2K SP3a
W2K AS SP3


Best Regards,
Jim

tkizer
Almighty SQL Goddess

USA
36797 Posts

Posted - 03/06/2004 :  23:24:26  Show Profile  Visit tkizer's Homepage  Reply with Quote
Search the forums for isp_Grant_Permissions. It's a stored procedure that I wrote that grants permissions to objects. You can schedule it to run if you want it to do it "automatically" (although with some latency).

Tara
Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

Australia
4970 Posts

Posted - 03/06/2004 :  23:40:19  Show Profile  Visit Merkin's Homepage  Reply with Quote
I include a GRANT statement in the template I use for all my stored procs.

It's really easy to do things the way you want them the first time




Damian
Go to Top of Page

Apollois
Starting Member

USA
49 Posts

Posted - 03/07/2004 :  00:52:51  Show Profile  Reply with Quote
Tara, thanks for sharing your GRANT SP. This will be very helpful.

Damian, your approach is an excellent idea!

Many thanks to both of you. You have solved my problem.


Best Regards,
Jim
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000