User Tools

Site Tools


kurs:foreign_keys_finden
select owner,constraint_name,constraint_type,table_name,r_owner,r_constraint_name
from all_constraints where 
-- constraint_type in ('P','U') and 
table_name='EMPLOYEES';
select *
from 
   user_dependencies
 where referenced_type = 'TABLE'
order by 
   name, referenced_owner, referenced_name, referenced_type
kurs/foreign_keys_finden.txt · Last modified: 2014/09/10 21:22 (external edit)