|Short-Circuit Evaluation in PL/SQL - This article describes how short-circuit evaluation can be used to improve the performance of some boolean expressions.|
Cesc said...ON THE EXPLANATION THERE ARE MISSING THE ASSERTIONS:
TRUE OR NULL = TRUE (Short-Circuit Evaluation of OR)
FALSE AND NULL = FALSE (Short-Circuit Evaluation of AND)
Quite correct. I've added in the NULL related assertions.
I don't think it is necessary to alter the examples as they kind-of prove the point. :)
DO NOT ask technical questions here! They will be deleted!
These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!