Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Granting Permission

Status
Not open for further replies.

TekLight

Programmer
Jan 16, 2009
2
US
Hi,
I want to grant permissin to a Database developer to view the stored procedures in Sql server 2000/2005 ,He can also read the data .I can grant him datareader permission but then he can't access the procs.If I make him Db_owner it will be too much for him.

can some one help me with this.What db role i should grant him to view the procs and read the data (No modifications to any)

 
Hi,
I don't know if there is a role for stored procedures, what I do is give the person execute permission one procedure at a time.
Code:
grant execute on PROCEDURE_NAME to USER_NAME

I think there is a way to create a role with the permissions you need, but I haven't done it.

Hope hits helps.
David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top