I want to convert the following IF
statement into CASE
statement, since it doesn't work in Alteryx
, which is using a Snowflake
database.
IF LEFT([SN],3)="CAT" AND Length([SN])=17 THEN RIGHT([SN],8) ELSE [SN] ENDIF
Could you please help me?