re: If Statement Golf: what's the longest one you've seen? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I don't know if this counts, but this is a multi-nested CASE statement in one of my dynamic SQL queries. CASE acts as a if-then-else statement. ...
 

I was actually going to see if I could refactor it, but I'm not exactly a SQL pro (see what I did there?)

Thanks for sharing though! Even gave me something new to look at (SQL cases).

code of conduct - report abuse