PL/SQL Logical Operators evaluate whole function
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-03-09T11:19:53Z
Indexed on
2010/03/09
11:21 UTC
Read the original article
Hit count: 300
plsql
I know in C like languages logical operators are evaluated one at a time so:
false && really_expensive_function()
is doesn't result in the function being called (I can't remember the CS name for this). Does the same happen in PL/SQL or do I need to break the IF parts out to separate blocks?
© Stack Overflow or respective owner