Very much a Newb here, trying to create a case statement with multiple 'likes' and I do not know the correct syntax is or if this is even possible. This is just a sample, the actual case statement is bigger:
CASE
WHEN casepro.act_proname like ['%COLOS%','%COLON%'] then "COLO"
WHEN psmpro.pro_abbr like ['HIPTOTAL','HIPBI'] then "HPRO"
WHEN psmpro.pro_abbr like '%KNEETOTAL%' then "KPRO"
ELSE '###'
END as procCode,
Thank you for looking at this!
CASE
WHEN casepro.act_proname like ['%COLOS%','%COLON%'] then "COLO"
WHEN psmpro.pro_abbr like ['HIPTOTAL','HIPBI'] then "HPRO"
WHEN psmpro.pro_abbr like '%KNEETOTAL%' then "KPRO"
ELSE '###'
END as procCode,
Thank you for looking at this!