ORA-42016: Shape Of Interim Table Does Not Match Specified Column Mapping (Doc ID 2016240.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 9.0.1.0 to 12.1.0.2 [Release 9.0.1 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 05-Jun-2015***

Symptoms


Converting  column type from TIMESTAMP to TIMESTAMP WITH TIME ZONE using DBMS_REDEFINITION

 

SQL> BEGIN
 2 DBMS_REDEFINITION.start_redef_table(
 3 uname => 'TEST',
orig_table => 'TEST',
 4 5 int_table => 'TEST_INT');
 6 END;
/ 7
BEGIN
*
ERROR at line 1:
ORA-42016: shape of interim table does not match specified column mapping
ORA-06512: at "SYS.DBMS_REDEFINITION", line 56
ORA-06512: at "SYS.DBMS_REDEFINITION", line 1498
ORA-06512: at line 2

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms