Is there a quick way to change all fields in a table that are null to just empty fields. I have many columns so wondered if there was a way to do it by table rather than column by column.
I need something like
update table 1
set * = ''
where * is null
but obviously this is incorrect syntax
This code will generate update statements list, you have to only run it:
Here (sql fiddle) you can see how it works.