The requirement was like this:
CASE
WHEN SUBSTR(PART_NO, 1, 2) IN('XX', 'YY', 'ZZ') THEN
SUBSTR(PART_NO, 1, 2)
ELSE
'SP'
END CODE,
See also >>
multiple values in case statement | Toolbox Tech
The requirement was like this:
CASE
WHEN SUBSTR(PART_NO, 1, 2) IN('XX', 'YY', 'ZZ') THEN
SUBSTR(PART_NO, 1, 2)
ELSE
'SP'
END CODE,
See also >>
multiple values in case statement | Toolbox Tech
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.