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: Howto do Whenever error in PL/SQL

Re: Howto do Whenever error in PL/SQL

From: Jo <gaidjamel_at_hotmail.com>
Date: Sun, 27 May 2001 12:30:06 -0000
Message-ID: <th1sqep9284nd1@corp.supernews.com>

Hello, Amos

Excuse me about my English. My natural language is French.

First, have an exception bloc? It's the natural place for your statements about the inserts?

jo
Amos wrote:
>
>
> Hi,
>
> I'm doing a lot of execute immediate a loop inside a procedure.
> My problem is that if one of the exec fails, the SP terminates.
> What I want to do is something like whenever error do ... insert the
> statement that failed into an exception table and continue to exec the
 next
> command.
>
> Is there a way to do it in PL/SQL ??
>
>
> Cheers,
> Amos
>
>
>

--
Posted via CNET Help.com
http://www.help.com/
Received on Sun May 27 2001 - 07:30:06 CDT

Original text of this message

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