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

Home -> Community -> Usenet -> c.d.o.tools -> Re: WHENEVER SQLERROR doesn't work?

Re: WHENEVER SQLERROR doesn't work?

From: Tomasz Bech <tbech_at_POP.GO2.PL>
Date: Fri, 23 Mar 2001 13:29:05 +0100
Message-ID: <3ABB4191.892A1FD8@POP.GO2.PL>

>
> Your syntax is new to me. What I'm used to seeing is:
>
> CREATE OR REPLACE PROCEDURE xyz IS
>
> BEGIN
>
> EXCEPTION
> WHEN the_exception THEN
> do_something;
>
> END;
>
> And I can guarantee you that when written this way it will always exit the
> procedure.
>

Misunderstanding. I want to exit when the error occures on the compilation time (not runtime) - when I load file myscript.sql into Oracle using SQLPLUS.

        Tomasz Received on Fri Mar 23 2001 - 06:29:05 CST

Original text of this message

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