denrepo

Oracle error

ORA-02291

ORA-02291: integrity constraint (%s.%s) violated - parent key not found

What usually causes it

A child row references a parent key value that doesn't exist.

What to check first

Insert the parent first, or correct the foreign key value.

Scripts that help

Open in the error lookupOracle's reference