mysql remplace la chaîne vide par null
UPDATE
TableName
SET
column01 = CASE column01 WHEN '' THEN NULL ELSE column01 END
Colorful Corncrake
UPDATE
TableName
SET
column01 = CASE column01 WHEN '' THEN NULL ELSE column01 END