Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PLSQL Newbie Qn
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
![]() |
![]() |