Many are aware that the IIF
function does not "short circuit". Does the iif function compute both paths in SSRS or is it short-circuited?
So, does the Switch
function also not short circuit? In other words suppose we have this Switch
:
Switch(True, 5, False, 5/0)
a contrived example of course.
Will it cause an error because it will evaluate 5/0?