﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / T-SQL (SS2K5)  / Copying Headers from SQL Query Window results in SQL 2005 / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 23:46:09 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Copying Headers from SQL Query Window results in SQL 2005</title><link>http://www.sqlservercentral.com/Forums/Topic1011093-338-1.aspx</link><description>Good tip...I always right clicked on the results pane and selected copy with headers.</description><pubDate>Fri, 21 Sep 2012 07:05:40 GMT</pubDate><dc:creator>tyson.price</dc:creator></item><item><title>RE: Copying Headers from SQL Query Window results in SQL 2005</title><link>http://www.sqlservercentral.com/Forums/Topic1011093-338-1.aspx</link><description>Perfect. Thanks!</description><pubDate>Thu, 20 Sep 2012 12:51:28 GMT</pubDate><dc:creator>bauertechnology</dc:creator></item><item><title>RE: Copying Headers from SQL Query Window results in SQL 2005</title><link>http://www.sqlservercentral.com/Forums/Topic1011093-338-1.aspx</link><description>Thank you for sharing ! Many people didn't find this setting.:ermm:With sql2008 that option is included with the right-click on the grid. :w00t:</description><pubDate>Tue, 26 Oct 2010 13:41:42 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>Copying Headers from SQL Query Window results in SQL 2005</title><link>http://www.sqlservercentral.com/Forums/Topic1011093-338-1.aspx</link><description>I wanted to copy the headers of a query result to a excel spreadsheet. In the grid view mode, by default the query editor only allows the results to be copied. Most of the suggested approaches indicated to change the "Default destination for results" value to "results mode to text". This mode enables the column headers by default. The columns seperated by a tab, which can be copied to  csv/excel. We can switch back to grid mode after doing this.Though this works, there is much more simpler approach which retains the grid mode as well as copy the column headers. No need of switching between modes.On the SQL query analyzer menu&amp;gt;&amp;gt;&amp;gt;Query Options&amp;gt;&amp;gt;Results---Grid pane, please select the check box, for "Include Column headers when copying or saving the results". This option enables the setting to copy headers always.</description><pubDate>Tue, 26 Oct 2010 13:02:32 GMT</pubDate><dc:creator>satishchandra</dc:creator></item></channel></rss>