Code: Select all
CASE WHEN XXX = 1 THEN yyyy ELSE zzzz END AS Transform
What I would like is that if it is a huge case when to have standard formatting (indent each case, then and end etc). However, if it is a short 1-liner, to not split it into multiple lines with indentation.
I've tried playing with the margin size, but it still breaks up my one-line CASE WHENs into multiple lines.
Is there a way to accomplish what I'm asking for?