DECLARE @x INT = 5;
SELECT Result = CASE
WHEN @x > 0 THEN
'GT0'
ELSE
'NOT GT0'
END;
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin