Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Exceptions
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;
HTH,
Mike
--- =========================================================================== Michael P. Vergara Oracle DBA Guidant CorporationReceived on Thu Aug 23 2001 - 09:56:44 CDT
(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: mvergara_at_guidant.com 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).
![]() |
![]() |