Hi Guys,
How can I do this: Based on the select Case below I want to show TWO separate columns within one WHEN?
The two lines below which are commented is what something I would like to have and I am sure it is something very simple I am missing....however i get syntax error
select
person.FirstName,
person.LastName,
CASE
--WHEN substatus is not null then 'HasSubstatus', null
--else null, 'DoesNotHaveSubstatus'
WHEN substatus is not null then 'HasSubstatus'
else null
end
from Person person