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

Last updated on MAY 07, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 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

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