I recently learned of the IIF(A,B,C) function. I\'m a long time VB/VB.NET Coder who recently spent a lot of time coming up to speed in SQL coding.
One (obvious) commo
Well, you should also make sure you don't have any functions in in iif that modifies any data based on the condition. We use If for a rather lot of that. It just pays to remember that about iif.