Answers for "mysql replace empty string with null"

SQL
0

mysql replace empty string with null

UPDATE
    TableName
SET
    column01 = CASE column01 WHEN '' THEN NULL ELSE column01 END
Posted by: Guest on March-18-2022

Code answers related to "mysql replace empty string with null"

Code answers related to "SQL"

Browse Popular Code Answers by Language