Oracle Error ORA-39282: Cannot alter default tablespace of partitions in partitioned table.

Oracle Error Message

ORA-39282: Cannot alter default tablespace of partitions in partitioned table.

Reason for the Error

DBMS_METADATA_DIFF was comparing two partitioned tables with different default tablespaces. There is no SQL ALTER statement to change the default tablespace of a partitioned table.

Solution

The difference cannot be eliminated with an SQL ALTER statement.