Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Tables in Parent-Child Order
pankaj, the problem with you question is that a sinle table may have
several FK reationships defined to other tables. Technically each of
these is a parent.
You can find this information by joining the DBA_CONSTRAINTS to itself using the r_constaint_name = constraint_name
This will give you the tables that have a FK to the table of interest.
HTH -- Mark D Powell -- Received on Fri Mar 10 2006 - 12:00:57 CST
![]() |
![]() |