Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL Command to view stored procedure

RE: SQL Command to view stored procedure

From: Jacques Kilchoer <Jacques.Kilchoer_at_quest.com>
Date: Tue, 03 Apr 2001 13:25:11 -0700
Message-ID: <F001.002E05D8.20010403131633@fatcity.com>

>-----Original Message-----
>From: Webber Valerie H [mailto:Valerie.H.Webber_at_irs.gov]
>
>What is the SQL command, v$ table or SQL*Plus command to
>see the contents of a stored
>procedure?
>I looked at DBA_SOURCE but it stored the code in
> separate rows based on the owner and procedure name.

You can use dba_source
select text
from dba_source
where owner = 'PROCEDURE_OWNER'
      and name = 'PROCEDURE_NAME'
order by type, line ; Received on Tue Apr 03 2001 - 15:25:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US