Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have below script and would like to output word Gluten, if its either C or P or M
M2_Allergens:
left join (Allergy_tmp)
Load
[p-code],
/
if(Gluten='C' or 'P' or 'M','Gluten') as M2_Allergens
Resident Allergy_tmp;
Title looks like you need variable,
M2_Allergens:
left join (Allergy_tmp)
Load
[p-code],
/
if(Match(Gluten,'C' , 'P' , 'M'),'Gluten', Gluten) as M2_Allergens
Resident Allergy_tmp;
Title looks like you need variable,
M2_Allergens:
left join (Allergy_tmp)
Load
[p-code],
/
if(Match(Gluten,'C' , 'P' , 'M'),'Gluten', Gluten) as M2_Allergens
Resident Allergy_tmp;