HowTo show all recursive constraints leading to a table
(Doc ID 779129.1)
Last updated on MARCH 12, 2021
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 to 126.96.36.199 [Release 7.3.4 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
In some cases you may want to know the recursive constraints leading to a primary key of a table:
- ORA-2292 being hit at delete of master row but unknown in which table
- checking the (complexity of) data model
Dba_constraints has all the entries but it will only show 1 level, for the complete picture you need to recursively select from dba_constraints.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document