Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: unique constraint violation problem
My explanation would be that the record was NOT inserted successfully into the table.
Proof of that would be that there are no duplicate records in the table.
> -----Original Message-----
> From: Anna Li [mailto:[EMAIL PROTECTED]
>
> I created a unique index on a table called REGISTRATION_K,
> but no unique
> constraint. Last week when the application tried to insert a
> record into
> the table, we got following error in the log file:
>
> Oracle::st execute failed: ORA-00001: unique constraint
> (REGISTRATION_K)
> violated
>
> However, the record was inserted into the table successfully.
> There are no
> duplicate records in the table. Could anyone explain why?
>
> Any input will be highly appreciated. Thanks in advance.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jacques Kilchoer INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Jul 07 2003 - 16:45:17 CDT
![]() |
![]() |