How to fix the Oracle error ORA-02428: could not add foreign key reference?

In this post, you’ll learn more about the Oracle ErrorORA-02428: could not add foreign key reference with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-02428: could not add foreign key reference

Reason for the Error ORA-02428: could not add foreign key reference

could not add a foreign key reference because of error in declaration. Either referenced table does not exist or table does not have an unique key.

How to fix the Error ORA-02428: could not add foreign key reference ?

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

make sure referenced table exists and/or has unique key

Tags :

Leave Your Comment