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: Source code of objects

Re: Source code of objects

From: Ari D Kaplan <akaplan_at_interaccess.com>
Date: Mon, 07 May 2001 10:59:33 -0700
Message-ID: <F001.002FB1D0.20010507110159@fatcity.com>

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: ari_at_pocketdba.com           <->
<-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><->


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: lal_brijesh_at_yahoo.com
>
> 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: ListGuru_at_fatcity.com (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: akaplan_at_interaccess.com

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: ListGuru_at_fatcity.com (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).
Received on Mon May 07 2001 - 12:59:33 CDT

Original text of this message

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