I want to update my table so that every column that has a value of NULL is updated to be and empty string.
Currently I have the following query, but it would only update one column and I want to update all columns that are NULL to empty string.
UPDATE table SET column1='' WHERE column1 IS NULL
You can update multiple columns with one statement by doing something like this:
HOWEVER thsi will only update based on the where clause.
For what you are trying to do, you’ll need separate statements.
EDIT Try this: