Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Procedures within Packages
This can "easily" be done using PERL & SQL-Statement plugin.
(Nothing is impossible for the person who does not have to do it!)
SQL-Statement is a SQL parser which can be used to ID
the tables in the FROM clause.
>
> From: Mike Schmitt <mschmitt_at_uchicago.edu>
> Date: 2004/06/30 Wed PM 05:17:15 EDT
> To: oracle-l_at_freelists.org
> Subject: Procedures within Packages
>
>
>
> Hi all,
>
> dba_dependencies tells us which tables that a package touches. However, a
> package might consist of 20 separate procedures. We have been asked to find
> 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
-- 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:27:55 CDT
![]() |
![]() |