Archive: April 2014

  • Excel doesn’t open CSV files correctly from sp_send_dbmail

    A nice little nugget today for anyone who uses SQL dbmail to send data in csv attachments. Sometimes, depending on your language settings, CSV files don’t open correctly in Excel. Excel ignores the ‘,’ and puts all data in column A. You then have to go through the hassle of closing the file and opening it throug the flat file wizard.   There’s a very nice solution to this that I found in this thread. It’s to…

    » Read more