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 -> Re: Commit question in SQL*PLUS

Re: Commit question in SQL*PLUS

From: sg <s4v4g3_at_europe.com>
Date: Fri, 16 Aug 2002 01:02:16 +0200
Message-ID: <3D5C32F8.7010101@europe.com>


in sqlplus you can do

whenever sqlerror exit 1

it exists everything when encounters an sql error

abc_at_iom.com wrote:

> New to Oracle, here.
>
> If I enter a batch of commands in SQL*PLUS, I want to have them all
> execute if the script is ok, or NONE executed if there's an error.
> Right now it looks like only the non-error lines of the script get
> executed. I'm looking for All-or-none.
>
> Thanks.
>
>
Received on Thu Aug 15 2002 - 18:02:16 CDT

Original text of this message

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