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

Home -> Community -> Usenet -> c.d.o.misc -> Re: PLSQL Newbie Qn

Re: PLSQL Newbie Qn

From: William Robertson <william.robertson_at_bigfoot.com>
Date: 11 Jun 2005 15:50:30 -0700
Message-ID: <1118530230.945861.19920@z14g2000cwz.googlegroups.com>


Lex wrote:
> Yes it's good practice. It's fast (low cost) and makes your code easy
> to understand. It might be a good idea not to use the flag though,
> since flags generally messes up the code.
>
> Lx

Agree exception handler is fine but flag is not. Why use the exception handler to set some variable's value, then test that variable all over again in an IF clause? I would just do whatever needed doing within the exception handler itself. Received on Sat Jun 11 2005 - 17:50:30 CDT

Original text of this message

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