>Generally stored procedures can do almost anything. So it is safer to disallow them
>The engine can't reliably work out what your stored procedure does
What about nesting of stored procedures, or recursion, or linked server calls or OPENQUERY calls, and many many other things
>What if someone change it later to do some writes?
You can't schema-bind a UDF to a stored procedure
This is how SQL Server behaves for good reasons
http://hashtagakash.wordpress.com/
Sanhtech, if this helps please login to Mark As Answer. | Alert Moderator