Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Unique contraint violation

Unique contraint violation

From: Smith, Ron L. <rlsmith_at_kmg.com>
Date: Mon, 20 Aug 2001 07:17:33 -0700
Message-ID: <F001.00370CFC.20010820072555@fatcity.com>

I have a trigger that does an insert on a table containing 5 columns. The first three columns are variable information. The fourth column in SYSDATE. The last column is either the constant INSERT or DELETE. The first four columns are in a unique index. When the user runs the program that fires the trigger she gets an Oracle error that says there is a unique contraint violation on the index. The data IS unique! This is a very small table. The last character of the index is SYSDATE which goes down to seconds. So why would I get the violation?

Thanks!
Ron

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Smith, Ron L.
  INET: rlsmith_at_kmg.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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 Aug 20 2001 - 09:17:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US