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 ORA-24328: illegal attribute value Reason for the Error The attribute value passed in is illegal. Solution Consult...
Oracle Error Message ORA-01346: LogMiner processed redo beyond specified reset log scn Reason for the Error LogMiner has detected a...
Oracle Error Message ORA-13241: specified dimensionality does not match that of the data Reason for the Error An error occurred...