Hmm.....I don't think you'll be able to do this (short of parsing through the package's source code), since there is no concept of a function or procedure within a package being identified as an object unto itself. Since that's the=20 case, there's nothing to maintain this level of dependency against. Even if you look at the library cache objects, again, there's nothing that distinguishes one procedure in a package from another one in the same=20 procedure. The finest object granularity in the library cache is=20 at the package level. -Mark Mark J. Bobak Oracle DBA ProQuest Company Ann Arbor, MI "Post Hoc Ergo Propter Hoc" -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Schmitt Sent: Wednesday, June 30, 2004 5:17 PM To: oracle-l@xxxxxxxxxxxxx Subject: Procedures within Packages Hi all, dba_dependencies tells us which tables that a package touches. However, a=20 package might consist of 20 separate procedures. We have been asked to find=20 out what tables each procedures of a package reference. for example: test.proc1 references tables: emp, department, region test.proc2 references tables: emp test.proc3 references tables: region, department Thanks for the help ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------