

Now, if we execute another query, a simpler solution is to just select the whole results grid by clicking the area marked on the screenshot below: If you use the ‘Save Results As…’ option now in the Results tab and open the saved excel file, you will be able to see all column headers as well Navigate to Query Results > SQL Server > Results to Grid, then check “Include column headers when copying or saving the results” option:Ĭlick OK to save changes, close and restart SSMS to apply changes However, this can be easily fixed by telling SSMS to include column names by default when copying or saving the results. On top of that, you are missing column headers. Opening this newly created CSV file will look nothing like how it does in SSMS even if you play with the import settings a lot. One way that I’ve seen most people use to save results to the grid in SSMS is to choose “Save Results As…” option and then save to CSV file which can be opened in Excel:
#SQL SERVER MANAGEMENT STUDIO 2014 DOWNLOAD HOW TO#
Believe it or not, this is an easy task yet there are so many folks that don’t know how to do it properly.


You wish to save the results of a query to an Excel file and in doing so you also want to capture column headers. Many people want to find out how to use ‘SSMS save results with headers’ functions to save the results of a query to an Excel file.
