October 13, 2008 at 5:34 pm
When I run this...
grant view definition on [dbo].[xxxx_Billpay] to xxxxx
go
I get the following...
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'view'.
How do I grant a developer access to view the definition of a proc without giving him additional rights?
Thanks!!!
October 14, 2008 at 1:50 am
View definition is not a permission level in SQL 2000. It was introduced in 2005 along with the tightening of the metadata security.
In 2000, iirc, everyone could view the definition of objects even if they had no other rights at all. That changed in 2005.
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
October 14, 2008 at 10:15 am
Thanks for the help!
October 14, 2008 at 10:32 am
If your dev's getting an error, post the full error message here and we can help diagnose the cause.
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
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply