select table_name, constraint_name, status, owner
from all_constraints
where r_owner = 'TABLO_SAHIBININ_ISMI'
and constraint_type = 'R'
and r_constraint_name in
(
select constraint_name from all_constraints
where constraint_type in ('P', 'U')
and table_name = 'TABLO_ISMI'
and owner = 'TABLO_SAHIBININ_ISMI'
)
order by table_name, constraint_name
Summary
-------
Finding associated tables in Oracle DB
----------
Dictionary
TABLO_SAHIBININ_ISMI : Table owner name TABLO_ISMI : Table name
Açtığın yoldan bir de biz ilerliyelim dedik reis. *-*
YanıtlaSil