Oracle Error ORA-00001 – unique constraint (string.string) violated

Oracle Error Message

ORA-00001 – unique constraint (string.string) violated

Reason for the Error

An UPDATE or INSERT statement attempted to insert a duplicate key. For Trusted Oracle configured in DBMS MAC mode, you may see this message if a duplicate entry exists at a different level.

The error ORA-00001 is frequently seen when a software tries to insert a “duplicate” row in a table, and when a unique constraint is violated the row will not be added to the table

Solution

Name of constraint violated will be included in error message. The column(s) on which the unique constraint is specified can be identified using that constraint name.

You will need to either remove the unique restriction or do not insert the key.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...