Re: Continue on Exception
From: Steve Jelfs <s.jelfs_at_btinternet.com>
Date: 1997/12/24
Message-ID: <34A0E663.3AA3_at_btinternet.com>#1/1
Date: 1997/12/24
Message-ID: <34A0E663.3AA3_at_btinternet.com>#1/1
Gnomic wrote:
>
> Paul Brooks <P.A.Brooks_at_btinternet.com> wrote in article
> > exception
> > when dup_val_on_index then
> > null;
>
> Thanks Paul (and others).
>
> That's exactly what I did the first time. And at the first exception, it
> said "PL/SQL competed successfully" and exited.Hmmm.... I thought I was
> missing something. <whap! (sound of forehead hitting screen)> Time to dig a
> bit deeper...
Two questions spring to mind:-
- Did you commit afterwards?
- Is the exception handler within the loop (where it needs to be) or at the end of the block?
Sj Received on Wed Dec 24 1997 - 00:00:00 CET