UPDATE kpi.data
SET MetricValue = ''
WHERE (MetricValue IS NULL )
and PeriodDate = '2020-01-02'
and ReportID = 4
I got this error
Msg 8114, Level 16, State 5, Line 4 Error converting data type varchar to numeric.
UPDATE kpi.data
SET MetricValue = ''
WHERE (MetricValue IS NULL )
and PeriodDate = '2020-01-02'
and ReportID = 4
I got this error
Msg 8114, Level 16, State 5, Line 4 Error converting data type varchar to numeric.
What you are trying to do does not make any sense, so it cannot work, and it will not work.
There is no other value that a numeric field can receive, either in MySQL or in any other relational database that I have ever heard of.
Perhaps what you want to do is to convert null to blank when selecting, (not when inserting/updating,) in which case you should look at some other Q&A like this one: MySql Query Replace NULL with Empty String in Select