Is T-SQL's CASE lazy evaluation?
From stackoverflow
-
Yes, it evaluates the WHENs in order until it finds one that is true, and doesn't evaluate the remaining WHENs.
Is T-SQL's CASE lazy evaluation?
Yes, it evaluates the WHENs in order until it finds one that is true, and doesn't evaluate the remaining WHENs.
0 comments:
Post a Comment