Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by Harsha Majety
»
Script to grant exec permission to all sps in...
Script to grant exec permission to all sps in a db
Rate Topic
Display Mode
Topic Options
Author
Message
harsha.majety
harsha.majety
Posted Saturday, December 11, 2010 1:08 PM
Forum Newbie
Group: General Forum Members
Last Login: 2 days ago @ 9:08 AM
Points: 6,
Visits: 397
Comments posted to this topic are about the item
Script to grant exec permission to all sps in a db
Post #1033370
J.O.
J.O.
Posted Monday, December 13, 2010 9:00 AM
SSC Rookie
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 4:09 PM
Points: 35,
Visits: 265
I usually create a role and grant execute permissions to that role then assign a user to that role.
Post #1033871
mehmetguzel
mehmetguzel
Posted Monday, December 13, 2010 2:09 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Wednesday, March 20, 2013 7:33 AM
Points: 114,
Visits: 282
Short Way for SQL Server 2008 and SQL Server 2008 R2:
declare @strSQL varchar(max)
set @strSQL ='';
select @strSQL = @strSQL + ' grant exec on ' + name + ' to User1 ;' from sys.procedures
exec (@strSQL)
MS SQL Server DBA
www.mehmetguzel.net
Post #1034077
sa_11
sa_11
Posted Monday, December 13, 2010 3:33 PM
Forum Newbie
Group: General Forum Members
Last Login: Friday, November 30, 2012 12:50 AM
Points: 1,
Visits: 51
J.O. (12/13/2010)
I usually create a role and grant execute permissions to that role then assign a user to that role.
+1
Post #1034110
simon.murin
simon.murin
Posted Monday, December 13, 2010 3:40 PM
Valued Member
Group: General Forum Members
Last Login: Yesterday @ 7:36 PM
Points: 62,
Visits: 474
GRANT EXECUTE ON SCHEMA::dbo TO USER1
Post #1034113
SQLRNNR
SQLRNNR
Posted Monday, December 13, 2010 3:47 PM
SSCoach
Group: General Forum Members
Last Login: Monday, May 20, 2013 1:07 PM
Points: 18,733,
Visits: 12,332
sa_11 (12/13/2010)
J.O. (12/13/2010)
I usually create a role and grant execute permissions to that role then assign a user to that role.
+1
+1
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1034117
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.