Leo:
Just nest your PL/SQL command inside a BEGIN...END block that has a
WHEN OTHERS THEN NULL statement in the EXCEPTIONS block. You can
nest PL/SQL to a surprising depth.
This example is pseudo-code:
BEGIN
LOOP
BEGIN
PL/SQL Statement(s) that may throw an exception;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
END LOOP;
END;
You could also create a separate procedure with the offending code and
have it absorb the exception.
HTH,
Mike
---
===========================================================================
Michael P. Vergara
Oracle DBA
Guidant Corporation
(909) 914-2304
-----Original Message-----
Sent: Thursday, August 23, 2001 1:21 AM
To: Multiple recipients of list ORACLE-L
Hi everyoene,
Is there any way I could cause my pl/sql to proceed with executuion when an
exception is raised? Im thinking of a kind of 'On Error Resume Next' thing
we've got in VB. Ive got a loop and I need to continue executing the code in
the loop after when an exception is raised and after I do some processing in
the exception block.Pls send me your suggestions.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Vergara, Michael (TEM)
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).