Oracle Error ORA-14295: column type or size mismatch between partitioning columns and subpartitioning columns

Oracle Error Message

ORA-14295: column type or size mismatch between partitioning columns and subpartitioning columns

Reason for the Error

When exchanging a partitioned table with a composite partition the type and size of the partitioning columns of the table must match the type and size of the subpartitioning columns of the composite partition.

Solution

Ensure that the type and size of the partitioning columns of the partitioned is the same as the type and size of the subpartitioning columns of the composite partition.