Re: Pro*C, Update

From: Sybrand Bakker <gooiditweg_at_nospam.demon.nl>
Date: Mon, 31 Oct 2005 18:14:40 +0100
Message-ID: <v0kcm155v8udts79v6tjteubdhkkbup05l_at_4ax.com>


On Mon, 31 Oct 2005 13:46:08 +0100, "Groju" <groju_at_nospamsurlaplanetefree.fr> wrote:

> And my code is in
>my first mail at the finish.
>
>So, your answer don't help me but it's very funny

Since when are people expected to read below the sig? In this forum, the sig quite often contains spam (people promoting their own courses and books)

And is it bad programming? Of course it is!

You have an exception handler jumping to the label problemes, after which you disable the exception handler. Below this statement is the *actual program* So what happens when your update fails?
It jumps to the exception handler, jumps to problemes, and executes your program *again*!

--
Sybrand Bakker, Senior Oracle DBA
Received on Mon Oct 31 2005 - 18:14:40 CET

Original text of this message