Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Is there a way to grant view sp.

Author  Topic 

NguyenL71
Posting Yak Master

228 Posts

Posted - 2008-07-24 : 14:09:13
hi,

Is there a way to grant users view stored procedrues. I am using SQL 2005. And not sure if the syntax below is correct. Any helps would geatly appreciate!

GRANT VIEW DEFINITION ON SCHENA:dbo TO [CompDomain\BizTlkAdmin]
GO

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-07-24 : 14:12:56
It should work, but user can view code of other type objects like tables too .
Go to Top of Page
   

- Advertisement -