Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> non-explainable SQL-Error
Sometimes an error occurs by using following statement, why? Normally
this statement is ok, but sometimes I get the following error.
[SERVERERROR] Error from Server: ORA-00001: unique constraint (USER.XPKOBJEKT_KEYWORD) violated
INSERT INTO OBJEKT_KEYWORD(OBJEKT_NR, REIHUNG) SELECT 224183,1 FROM DUAL WHERE NOT EXISTS (SELECT OBJEKT_NR FROM OBJEKT_KEYWORD WHERE OBJEKT_NR=224183 AND REIHUNG=1) This statement inserts 2 values, but only if they are not allready in the table. Received on Mon Jan 10 2000 - 09:51:21 CST
![]() |
![]() |