March 13, 2007 at 10:44 am
Hi,
Is it possible to get Query Analyzer to display the execution plan for encrypted stored procedures?
ian
March 13, 2007 at 4:50 pm
I don't think it is - it's a couple of years since I did this - seem to remember I decrypted the procs on a test db. I think you can display the query plan though.
[font="Comic Sans MS"]The GrumpyOldDBA[/font]
www.grumpyolddba.co.uk
http://sqlblogcasts.com/blogs/grumpyolddba/
March 14, 2007 at 7:16 am
i just tested this, and it looks like you can see the execution plan;
i made a crappy proc, and tested it with encryption and without; both times i could see the execution plan:
--for users who are too lazy to type "SELECT * FROM"
ALTER procedure sp_show
--USAGE: sp_show tbcounty
@TblName varchar(128)
WITH ENCRYPTION
As
Begin
exec('Select * from ' + @TblName)
End
Lowell
March 14, 2007 at 8:23 am
Yup, it's possible.
We have a 3rd party tool which has all of the stored procedures encrypted. Aside from finding a decryption tool, it was my resource to finding dependent tables, as sp_depends would not show me this information.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply