ORA-31403: change table  already contains a column

Posted on 2012-08-16
Last Modified: 2012-08-16

Could you please help me to resolve this

SQL> begin
  6  RS_ID =>'N',
  7  ROW_ID =>'N',
  8  USER_ID =>'N',
  9  TIMESTAMP =>'Y',
 10  OBJECT_ID =>'N',
 12  TARGET_COLMAP =>'N');
 13  end;
 14  /
ERROR at line 1:
ORA-31403: change table  already contains a column
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 633
ORA-06512: at line 2
Question by:ajaybelde
    LVL 76

    Accepted Solution

    If you check out that error on:

    This error is because when the change table was originally created the values for rs_id, row_id, user_id, timestamp, object_id, source_colmap and target_colmap were already specified. In order to prevent this error change all the values for the aforementioned columns to ‘n’ and it should run through without error.

    Author Comment

    Thank You..It worked fine with TIMESTAMP =>'N'.

    Thanks again!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
    From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
    This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
    This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now