Read Only Stored Procedure
How to make stored procedure as 'Readonly' in SQL Server 2005.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vijaya KadiyalaPosted Apr 10, 2008, 12:24 PM
Hi Vijay,
even if you create a SP using .Net finally it has to go and sit in SQL Sever database and i dont think there is a concept of read-only stored procedure. One way we can use this term as a stored proecedure which doens't have any DML operations. it has only SELECT operations to return data. so in this way one can interpret as ready only stored procedure.
Thanks -- Vj
http://dotnetvj.blogspot.com
vijay mannPosted Feb 6, 2008, 2:48 AM
BrijPosted Aug 22, 2007, 9:51 PM
hi,
whts that READONLY??????
if u want to restrict u'r user to change u'r stored Proc then u can use DataBase Trigger... and rollback any changes made to u'r sp's.