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

Oracle Error Message

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

Reason for the Error

The value of the foreign key differs from the value of the primary key.

Solution

Remove the foreign key and replace it with a main key that matches to correct this problem.