reff_cons_name, b.table_name reff_table, c.column_name from dba_constraints a, dba_constraints b, dba_cons_columns c where a.r_constraint_name = b.constraint_name(+) and c.owner='SCOTT' and c.constraint_name=a.constraint_name(+) --and c.constraint_name=b.constraint_name and a.table_name = 'EMP';
select * from dba_cons_columns where constraint_name='FK_DEPTNO';