My Oracle Support Banner

ORA-14097: column type or size mismatch on Alter Table Exchange Partition (Doc ID 946427.1)

Last updated on JULY 20, 2023

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

When trying to exchange any partitions of existing tables with a table from the original partition table an ora-14097 error is encountered. The VALIDATED status of the constraint on any of the table has status as "NOT VALIDATED".

There are no UNUSED columns or function based indexes.

Following queries return no rows:


Error: ORA-14097
Text: column type or size mismatch in ALTER TABLE EXCHANGE PARTITION
---------------------------------------------------------------------------
Cause: The corresponding columns in the tables specified in the ALTER TABLE
EXCHANGE PARTITION are of different type or size
Action: Ensure that the two tables have the same number of columns with the
same type and size.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.