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

Home -> Community -> Usenet -> c.d.o.server -> ORA-00001 when populating table

ORA-00001 when populating table

From: <grndvu_at_ids.net>
Date: Thu, 31 Dec 1998 14:33:29 GMT
Message-ID: <76g1vq$ooo$1@nnrp1.dejanews.com>


I am stepping through a 3rd party how-to book on Oracle8. The book calls for creating an ORDER_DETAILS table in Oracle8 Navigator with a NO DEFAULT, NOT NULL, NOT UNIQUE ORDER_ID primary key field. The book then calls for populating the table with records, several of which have the same ORDER_ID number.

The first time I try to enter a record with the same ORDER_ID number as a previously entered record, I get:

ORA-00001: unique contraint ... violated

What am I doing wrong? Thanks for any help.

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Thu Dec 31 1998 - 08:33:29 CST

Original text of this message

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