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

Home -> Community -> Usenet -> c.d.o.server -> Re: What happens after an error in an PL/SQL proc?

Re: What happens after an error in an PL/SQL proc?

From: <gdas_at_my-deja.com>
Date: Wed, 15 Nov 2000 22:49:47 GMT
Message-ID: <8uv3u8$v8$1@nnrp1.deja.com>

In your example, oracle will break out of the loop and transfer control to the exception handler nearest in scope, which is the one you have at the end of the procedure. As David has indicated, if one doesn't exist, the procedure will exit.

If you wish to continue processing inside the loop after an exception is encountered, you would need to add a block and exception handler inside of the loop.

Hope that helps,
Gavin

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Nov 15 2000 - 16:49:47 CST

Original text of this message

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