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

Home -> Community -> Usenet -> c.d.o.misc -> Re: What happens if...

Re: What happens if...

From: Andreas Michler <Andreas.Michler_at_adicom.de>
Date: Thu, 13 Jan 2000 14:19:02 +0100
Message-ID: <387DD0C6.448CB17E@adicom.de>


If dont have "set stoponerror on" it works with the next statement. Only the one insert was discarded.

Andy wrote:

> Hi,
>
> What happens if I am running an "insert" query in SQL*PLUS against a
> table and I encounter a unique constraint violation? Does the query
> just skip the insert on the row that encountered the unique constraint
> violation and continue with the insert for the next row, or does the
> query stop at the point that the violation occurred and go no further?
>
> I know you get the error:
> ERROR at line 1:
> ORA-00001: unique constraint (FRT.PK_FREIGHT) violated
> but I can't tell if the query ends at this point or continues on.
>
> Hope I explained that ok...thanks!
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> The fastest and easiest way to search and participate in Usenet - Free!

--



ADICOM Informatik GmbH
Andreas Michler
Wiesfleckenstr. 34
72336 Balingen
Tel: 07433/9977-57,Fax: -90
E-Mail: Andreas.Michler_at_adicom.de
http:\\www.adicom.de
Received on Thu Jan 13 2000 - 07:19:02 CST

Original text of this message

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