SQL Language (MOSC)

MOSC Banner

Retrieving table hierarchy

edited Feb 18, 2010 4:55AM in SQL Language (MOSC) 5 commentsAnswered

Anyone has a way to retrieve the complete hierarchy of tables, starting with a parent table?

Table A is the first level. Table B is the child of table A, a foreign key on table B referencing table A, the FK column being part of the PK constraint on table B. Table C is the child of table B, grandchild of table A, the FK column being part of the PK constraint on table C... And so on.

I need to locate the complete hierarchical tree...  Column name can't be used as it is changed when imported from table to table...

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center