I have a large table that doesn't follow the best data organization practices so I can't do a simple
update table set (...cols) = 0 where (...cols) is null
because the columns names are the months of the year dash a year up to 5 years. i.e Jan-20, Jan-21, Jan-22, etc.
I'm wondering if there's a command out there that would essentially do
update table set all data = 0 where data is null
I understand this goes against SQL principles but my hope is that there's something out there that's does what I would expect that command to do.