Viewing 2 posts - 1 through 2 (of 2 total)
you have a syntax error with "then" and you must use ' for text value and " for alias
Select item as "Item",case koor when...
October 17, 2017 at 7:59 pm
#1964134
Podrías intentar hacer algo como esto.
;With CTE_Source As ( Select Fl, Col , Val = Case When Val Is Null Then 0 Else Case When...
October 16, 2017 at 11:10 am
#1963896