How to fix the Oracle error ORA-14128: FOREIGN KEY constraint mismatch in ALTER TABLE EXCHANGE PARTITION?

In this post, you’ll learn more about the Oracle ErrorORA-14128: FOREIGN KEY constraint mismatch in ALTER TABLE EXCHANGE PARTITION with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-14128: FOREIGN KEY constraint mismatch in ALTER TABLE EXCHANGE PARTITION

Reason for the Error ORA-14128: FOREIGN KEY constraint mismatch in ALTER TABLE EXCHANGE PARTITION

The corresponding columns in the tables specified in the ALTER TABLE EXCHANGE PARTITION statement have different FOREIGN KEY constraints.

How to fix the Error ORA-14128: FOREIGN KEY constraint mismatch in ALTER TABLE EXCHANGE PARTITION ?

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

Ensure that the two tables do not have FOREIGN KEY constraints defined on any column or disable all FOREIGN KEY constraints on both tables. Then retry the operation.

Tags :

Leave Your Comment