Oracle Error ORA-14131: enabled UNIQUE constraint exists on one of the tables

Oracle Error Message

ORA-14131: enabled UNIQUE constraint exists on one of the tables

Reason for the Error

One of the tables referenced in the ALTER TABLE EXCHANGE PARTITION|SUBPARTITION statement has enabled UNIQUE constraint(s) defined on it, which prevents EXCHANGE from proceeding.

Solution

Disable constraints defined on tables referenced in the ALTER TABLE EXCHANGE PARTITION|SUBPARTITION statement and retry the statement.