Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Procedures within Packages
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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Mike Schmitt
Sent: Wednesday, June 30, 2004 5:17 PM
To: oracle-l_at_freelists.org
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
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |