Gettings stored procedure source text? (1 Viewer)

Kodo

"The Shoe"
Local time
Today, 13:31
Joined
Jan 20, 2004
Messages
707
Getting stored procedure source text?

Hello,
I was wondering if anyone knew how to obtain the source text (i.e Select x from table) of a stored procedure using any SQL server commands or functions..

Thanks.
 
Last edited:

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 18:31
Joined
Jul 9, 2003
Messages
16,272
Hi Kodo,
merry Christmas to you!

I have several MS SQL related links on my website, and I recall this one which may be of some help. One of the bulleted items is:

*View, create and edit stored procedures


Tony..
 
Last edited:

Kodo

"The Shoe"
Local time
Today, 13:31
Joined
Jan 20, 2004
Messages
707
ok, got that one sorted by using exec sp_helptext 'sprocname'
 

Users who are viewing this thread

Top Bottom