It is DBA_SOURCE / ALL_SOURCE / USER_SOURCE. For example:

SELECT distinct OWNER, NAME FROM DBA_SOURCE;

lists all source-code related objects in the database (functions,
packages, procedures, types).

SELECT TEXT FROM DBA_SOURCE WHERE OWNER = 'SYS' and NAME = 'UTL_FILE'
ORDER BY LINE;

will give the source code for an object.

-Ari Kaplan

<-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><->
<-> For 400+ Oracle tips, visit:                   <->
<->                                                <->
<->             www.arikaplan.com                  <->
<->                                                <->
<->             email: [EMAIL PROTECTED]           <->
<-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><->


On Mon, 7 May 2001, Brijesh Lal wrote:

> Hi
>   I don't remember the view in which source code is
> stored for example source code of procedures,
> functions or even database link. Can anyone tell me in
> which view is the source code stored
> 
> Regards
> Brijesh
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Brijesh Lal
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ari D Kaplan
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to