ORA-00001 error: constraint violation

Ludo -  
turfybot Posted messages 3 Status Membre -
Hello,

I wish to insert a row into a table that contains a UNIQUE key, but I can't do it, even though the value of this key is generated by a sequence with no limit on the value. There shouldn't be any issue during the insertion. I'm getting the error "ORA-00001: unique constraint violation" on this key. I'm on Oracle 9i.

Best regards,
Configuration: Windows XP Firefox 2.0

1 réponse

turfybot Posted messages 3 Status Membre 10
 
ORA-00001 contrainte unique (string.string) violée

Cause

Une instruction UPDATE ou INSERT a tenté d'insérer une clé dupliquée. Pour un Oracle de confiance configuré en mode MAC DBMS, vous pouvez voir ce message si une entrée dupliquée existe à un niveau différent.

Action

Consultez http://turfybot.free.fr/oracle/8i/errors/ORA-00001.html pour résoudre votre problème.
0