Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Does anyone have a script to display hierarchy of tables starting with a specific one

Re: Does anyone have a script to display hierarchy of tables starting with a specific one

From: Steven Hauser <hause011_at_garnet.tc.umn.edu>
Date: 2000/03/17
Message-ID: <8atvjo$3mf$1@garnet.tc.umn.edu>#1/1

I have an AWK script that does a topological sort. It does what you ask for Informix (specific table, hierarchy of foreign keys).

The script just needs key-value pairs of tables dependent on each other. Get the pairs of tables from the oracle system catalog tables and run it through the script and Voila!

ref_load_ord -- a referential constraint graph script at

               http://www.tc.umn.edu/~hause011/

-- 

---------------------------------------------------------
Steven Hauser email: hause011@tc.umn.edu URL: http://www.tc.umn.edu/~hause011
---------------------------------------------------------
Received on Fri Mar 17 2000 - 00:00:00 CST

Original text of this message

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