My Oracle Support Banner

HowTo show all recursive constraints leading to a table (Doc ID 779129.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 7.3.4.0 to 11.2.0.2 [Release 7.3.4 to 11.2]
Information in this document applies to any platform.

Goal

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.

Solution

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
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.