Azure – Snowflake: Insert null value in a numeric type column
I have a case statement to rectify one business logic in snowflake: INSERT INTO DB.table_b SELECT CASE WHEN UPPER(emp) <> LOWER(emp) THEN NULL WHEN emp IS NULL THEN nullif(emp, 'NULL') ELSE emp END AS emp_no FROM DB.table_a; The 'table_a' content…