Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Whenever - SQL PLUS
Hi,
When you use whenever, you'll have the opportunity to continue the execution of your script or exiting with a code error at the first one. Hence, you must be sure whether you want to exit or continue with the transaction. And in the first case, you will send a message error only through shell script.
Regards.
> -----Mensaje original-----
> De: Eriovaldo do Carmo Andrietta [SMTP:eca_at_widesoft.com.br]
> Enviado el: martes 27 de febrero de 2001 12:01
> Para: Multiple recipients of list ORACLE-L
> Asunto: Whenever - SQL PLUS
>
> Hi Friends :
>
> Does anyone use command whenever in sql plus.
> I have cron working with sqlplus ( as sqlplus < file.txt) then
> when occurs some errors or not it return messages, because i am setting
> serveroutput on.
>
> Well, I would like to control it. and giving message only when
> unsucessfull
> situation ...
>
> Regards.
>
> Eriovaldo do Carmo Andrietta
> ICQ #102604225
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Eriovaldo do Carmo Andrietta
> INET: eca_at_widesoft.com.br
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Trassens, Christian INET: CTrassens_at_uni2.es Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Feb 27 2001 - 06:17:54 CST