There are some old stored procedures on an SQL 7 server, I need to view the stored procedures to see what commands they are executing. I've looked in the Query Analyzer, Profiler and performance monitor and I can't seem to find it.
Assuming you have Enterprise Manager, do this:
In EM expand the object listing for your database.
Select the Stored Procedures tab.
Hilight the stored procedure and double click it.
This brings up the properties window where you can browse the text of the stored procedure.
Or in Query analyzer try: sp_helptext procedurename
Results of the above are not too pretty.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.