Thursday, January 24, 2008

SQL Server - Include column headers when copying or saving results

If you ever copy and paste your query results from SQL Server Management Studio into Excel or Notepad, you will definitely want to check this option under Tools - Options (Query Results - SQL Server - Results to Grid). Otherwise you will not get the column headers.

No comments:

Post a Comment