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: Procedures within Packages

RE: Procedures within Packages

From: Bobak, Mark <Mark.Bobak_at_il.proquest.com>
Date: Wed, 30 Jun 2004 17:28:49 -0400
Message-ID: <4C9B6FDA0B06FE4DAF5918BBF0AD82CFECFD2F@bosmail00.bos.il.pqe>


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



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://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_at_freelists.org
put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Wed Jun 30 2004 - 16:25:54 CDT

Original text of this message

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