June 18, 2010 at 7:18 am
with only read access, How can you view the stored proc?
June 18, 2010 at 8:34 am
You can't. You'd need to have execute privs on the procedure in order to execute it and get the data back from it.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
June 18, 2010 at 8:49 am
If you just want to view the proc, you can grant view definition rights on it.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 18, 2010 at 8:52 am
GilaMonster (6/18/2010)
If you just want to view the proc, you can grant view definition rights on it.
Oh right, I was thinking about looking at the data... misread it. Good catch, thanks.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply