dcsimg

sp_GrantAllProcs.txt

October 3, 2001



This script has been designed to grant EXECUTE to all non-system stored procedures. Install the script in master to run from any database and pass username or role in single quotes. I find the script useful because (unless I've totally missed something) db_datareader/db_datawriter does not convey execute permissions to stored procedures.

The script has only been tested on SQL 7.0, but it should work on 6.5 and 2000 as well.

Author: John Fichera


Download Script:
sp_GrantAllProcs.txt


Disclaimer: We hope that the information on these script pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, or fitness for a particular purpose... Disclaimer Continued


Back to Database Journal Home








The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers