| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Text of a stored procedure
Scott Patterson <scott.patterson_at_trilogy.com> wrote..
> I need to extract the text of a stored procedure.  Is there an Oracle
> procedure similar to the SQLServer  sp_helptext?  Or some other means of
> extracting the text?
You can use SQL*Plus ...
select text
from dba_source
where owner = upper('&proc_owner')
and name = upper('&proc_name')
order by line;
Chris
![]()  | 
![]()  |