Re: Duplicate entry '3841' for key 1 in query
Posted by:
Adam D
Date: November 08, 2005 09:39PM
Check your table structure for UNIQUE index. I recently ran into an insert statement I was running and it spat an error saying duplicate key. However the key it mentioned was an auto_increment column, and it actually mentions the ID it gave (which was not actually present in the table). However, I did have another unique column in the table, and that indeed was the cause of the error I recieved.
Subject
Views
Written By
Posted
2725
November 02, 2005 08:18AM
1498
November 02, 2005 08:34AM
1526
November 08, 2005 03:22AM
Re: Duplicate entry '3841' for key 1 in query
1654
November 08, 2005 09:39PM
1633
November 14, 2005 02:56AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.