If I get time (don't hold your breath), I might fiddle with a ksh script. But a suggestion to get you started is to head to asktom.oracle.com and search for getallcode. He has a couple of seriously handy scripts (getcode.sql and getallcode.sql) for extracting the source code for a schema. Even if you don't intend to use them for this project, your life will be happier if you get them anyway. I think what I would do is suck out the code with Tom's scripts, then use ksh to parse through the files and look for words like FROM, INTO, PROCEDURE, FUNCTION using a case insensitive search (e.g. [Ff][Rr][Oo][Mm]). > -----Original Message----- > out what tables each procedures of a package reference. ---------------------------------------------------------------- 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 http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------