posted 2/9/2011 by Raghav Khunger
In this blog I will show how to export the query results to CSV file in SQL server 2008. Today I was having this requirement where I need to export my results to CSV file, I decided to write a blog on it. Below are the few steps which will lead you to export it.Steps1. Run the query in SSMS whose results you want in CSV format.2. Right click over the Query Window and select "Save Results As.." from the context menu.3. Give the file name from your CSV file and press the Save button.That's it CSV file has been saved at the specified location. Below is the output of the file which is just created.Hope this helps!
What kind of email newsletter would you prefer to receive from CodeAsp.Net?18