I never did this, but I imagine it is not too difficult to use the sp_Helptext stored procedure to get the sql code of a stored procedure, with which if you look into the source code of this stored procedure, it is using the syscomments table to get the text of the stored procedure.
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.