sir ,how can we find tables those which are related each other exactly(while training) not apps tables ,simply in 9i db environment(user defined tables)
I'm not sure if I understand correctly, but the all_constraints table can be used to get the table relations.
This is an example query:
<pre>select ac.constraint_name,ac.table_name child_table,ac2.table_name parent_table
from all_constraints ac,all_constraints ac2
where ac.r_constraint_name = ac2.constraint_name;</pre>
Last Wiki Answer Submitted: September 16, 2008 9:57 pm by carlosdl63,535 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.