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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Which table holds the package body?

Re: Which table holds the package body?

From: Daniel Morgan <dmorgan_at_exesolutions.com>
Date: Mon, 11 Nov 2002 18:38:04 GMT
Message-ID: <3DCFF90C.93E45DC@exesolutions.com>


Praveen wrote:

> Hi..All,
>
> I am trying to find out whether Oracle stores the dependencies of a Package
> i.e.. the associated Procedures/Functions in a table. So, when I query for a
> package in the table, I should get the name of the object & type
> (function/procedure...) ?
>
> Secondly, all_source table only stores the header of the package, where can i
> find the body of the package?
>
> TIA,
>
> Regards,
>
> PM

Q1:
SELECT object_name
FROM all_objects
WHERE object_name LIKE '%DEPEND%';

Q2:
Your statement is incorrect. all_source contains both the header and the body. Look again.

Daniel Morgan Received on Mon Nov 11 2002 - 12:38:04 CST

Original text of this message

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