Nice question. I didn't know that constants (like 1) could be placed after CASE, so I definately learned something today.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP