Search notes:

Oracle: Referential integrity

Referential integrity is maintained with primary key - foreign key relations.

Error messages

Error messages related to referential integrity include:
In case of such an error, this SQL statement (which uses all_constraints)) might help find primary-foreign key relationships.

See also

Select statements to
Trying to delete a record in a table with a primary key whose value is still referenced in a tablee with a foreign key causes Oracle to throw ORA-02292: integrity constraint (…) violated - child record found.
Similarly, trying to insert a record into a table with a foreign key whose value is not in the referenced table causes Oracle to throw ORA-02291: integrity constraint … violated - parent key not found.
Referential integrity from a foreign key to a unique constraint

Index