I currently have a sql statement that outputs data into an excel document. However, every time there is a cell that doesn’t have data, it outputs NULL into the cell. I was wondering if there was a way that I could replace NULL with just a blank space? Someone suggested using coalesce to do this, however I haven’t ever had the chance to use it so I will have to do some reading on it. Anyone have any other suggestions?
I currently have a sql statement that outputs data into an excel document. However,
Share
In your select you can put an IsNull/IfNull round the column. Not particularly efficient but does what you want.
MS SQL
MySQL