title: tsql: how to export query results to .csv?
body: <p>I would like to export my query results to a .csv file (local). I have been googling for a while now...can't seem to find a nice simple example out there.  Thanks for the help.</p>
  
  <p>Example: 
  "select top 3 * from table"  to -----> "c:\data\test_data.csv"</p>