select c.owner, c.constraint_name, C.TABLE_NAME,
c.delete_rule, c.r_owner, cc.constraint_name, cc.table_name, cc.constraint_type
from dba_constraints c, dba_constraints cc
where c.r_owner=cc.owner and c.r_constraint_name=cc.constraint_name
and c.OWNER not in ('SYS','SYSTEM','OUTLN','PERFSTAT','WEBSYS','DBSNMP');
Note: Proofread any scripts before using. Always try scripts on a test
instance
first. I'm not responsible for any damage, even if you somehow manage to make my
scripts corrupt every last byte of your data, set your server on fire and serve you
personally with an eviction notice from your landlord!
All scripts and tips © Natalka Roshak 2001-2005.
Enjoy the FREE tips folks...