My Oracle Support Banner

Ora-31403 executing DBMS_LOGMNR_CDC_PUBLISH.ALTER_CHANGE_TABLE (Doc ID 309747.1)

Last updated on NOVEMBER 05, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express 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
Information in this document applies to any platform.

Symptoms

begin
DBMS_LOGMNR_CDC_PUBLISH.ALTER_CHANGE_TABLE (
OWNER =>'CDC',
CHANGE_TABLE_NAME =>'CDC_ORDER_RELEASE',
OPERATION =>'ADD',
COLUMN_LIST => 'DOMAIN_NAME VARCHAR2(50)',
RS_ID =>'Y',
ROW_ID =>'N',
USER_ID =>'N',
TIMESTAMP =>'Y',
OBJECT_ID =>'N',
SOURCE_COLMAP =>'Y',
TARGET_COLMAP =>'Y');
end;
/

Execution of the above script in a setup of CDC causes the following error:

ORA-31403 change table %s already contains a column
.


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!


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