Skip to Content
author's profile photo Former Member
Former Member

SQL-error "1452-ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys

Hi All,

i created primary index to one custom table moving from development system to quality system it throw-ed error. Just given below error log. later deleted that index from table level again moved new TR(dev) to quality system same error happened again. if i moved any new development TR from development system to quality system same error is throwing in quality system. Please give me some suggestion. Recently our oracle DB is upgraded to 10G.

This is error throwing every time :-

Error log:

2WETP000 12:20:54: Retcode 1: error in DDL statement for "ZDELL_STAT_FILE " - repeat

2EETP345 12:21:06: Retcode 1: SQL-error "1452-ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys

2EETP345 found" in DDL statement for "ZDELL_STAT_FILE "

2 ETP399 --------------- DB-ROLLBACK() ---------------

2EETP334 12:21:06: error in DDL, nametab for "ZDELL_STAT_FILE" not activated






-------------------------------------------------------



Please Provide any solution for this issue.



Thanks,

Anbusundaram A


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 12, 2013 at 08:58 AM

    Hi Anbusundaram,

    Please have a look at the following note

    23237 - duplicate keys, duplicate rows, duplicate records

      4. A 'create index' or enabling a primary key constraint fails with 'ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found' or 'ORA-02299: cannot add or enable constraint failed - duplicate keys found'

    Best Regards

    Marius

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.