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: Trapping Errors in SQL*Plus

Re: Trapping Errors in SQL*Plus

From: Mark Sims <mark.k.sims_at_bt.com>
Date: Mon, 08 Nov 1999 14:00:50 +0000
Message-ID: <3826D792.E0A794CF@bt.com>


Many thanks for the suggestion. Whilst this works in the sense of stopping the process it doesn't allow us to trap the reason for the failure (and hence stop gracefully).

Regards,

Mark Sims

Michel Cadot wrote:

> Even in SQL*Plus you can use the statement
> whenever sqlerror exit [commit|rollback];
>
> This makes the script exit SQL*Plus when an error occurs.
>
>
>
Received on Mon Nov 08 1999 - 08:00:50 CST

Original text of this message

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