mysql substitua a corda vazia por nulo
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