I want to export some SQL Server 2005 data to CSV format (comma-separated with quotes). I can think of a lot of complicated ways to do it, but I want to do it the right<
You can use following Node.js module to do it with a breeze:
https://www.npmjs.com/package/mssql-to-csv