SQLSyntax
Conditional Value with CASE
Code example
CASE WHEN total > 100 THEN 'big' ELSE 'small' ENDReturns values based on conditions.
In SQL, conditional value with case: returns values based on conditions — CASE WHEN total > 100 THEN 'big' ELSE 'small' END
CASE WHEN total > 100 THEN 'big' ELSE 'small' ENDCASE WHEN total > 100 THEN 'big' ELSE 'small' ENDReturns values based on conditions.
Use CASE WHEN total > 100 THEN 'big' ELSE 'small' END.
Use this pattern: CASE WHEN total > 100 THEN 'big' ELSE 'small' END
Yes. Use Copy code and adapt the example to your program.
No. The language syntax is the same across operating systems.