How to fix the Oracle error ORA-02291: integrity constraint (string.string) violated – parent key not found?

In this post, you’ll learn more about the Oracle ErrorORA-02291: integrity constraint (string.string) violated – parent key not found with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-02291: integrity constraint (string.string) violated – parent key not found

Reason for the Error ORA-02291: integrity constraint (string.string) violated – parent key not found

A foreign key value has no matching primary key value.

How to fix the Error ORA-02291: integrity constraint (string.string) violated – parent key not found ?

You can fix this error in Oracle by following the below steps

Delete the foreign key or add a matching primary key.

Tags :

Leave Your Comment