selecta.owner||'.'||a.table_name "Referenced Table",b.owner||'.'||b.table_name "Referenced by",b.constraint_name "Foreign Key"from all_constraints a, all_constraints bwhereb.constraint_type = 'R'and a.constraint_name = b.r_constraint_nameand a.table_name='XXXXXXXXXX' -- Table nameorder by a.owner||'.'||a.table_name
Tek Değişiklik b.table_name yerine a.table_name yapmak :)
No comments:
Post a Comment