HowTo show all recursive constraints leading to a table
Last updated on FEBRUARY 28, 2018
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 7.3.4 to 11.2]
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms