Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Plus - Store Procedures 1

Status
Not open for further replies.

fugarte

Programmer
Aug 29, 2002
4
US
What is the statement to the view the code in a stored procedure via SQL PLUS.
 
I tend to use Select text from all source where type = "PROCEDURE' and name ="MYPROC" order by line as system user I tried to remain child-like, all I acheived was childish.
 
Select text from ALL_SOURCE
where type = 'PROCEDURE'
and name = 'YOUR_PROCEDURE_NAME'
order by line

The valid types are also:
FUNCTION
JAVA SOURCE
PACKAGE
PACKAGE BODY
TYPE
TYPE BODY
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top