﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Ken Simmons  / Include Column Headers From SSMS / 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>Sat, 18 May 2013 23:30:38 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>Great Tip.  Tools &amp;gt; Options + Query Results + SQL Server Select 'Results to Grid'Check ' Include column headers when copying or saving results'</description><pubDate>Tue, 13 Oct 2009 05:23:18 GMT</pubDate><dc:creator>phased3</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>Hey thanks for posting this! I've been dealing with the inconvenience of writing out the column names by hand for a long time now lol...</description><pubDate>Fri, 13 Jun 2008 14:33:18 GMT</pubDate><dc:creator>NJahncke</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>Thanks for the great tip!!!</description><pubDate>Fri, 13 Jun 2008 13:45:49 GMT</pubDate><dc:creator>Kangana Beri</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>[quote][b]shashi kant (6/13/2008)[/b][hr]HI,There is other alternative available for this header optionYou can get this option by selecting these optionsQuery -&amp;gt; Query Options -&amp;gt;Results -&amp;gt; and then select the option of Include column headers when copying or saving the resultsRegardsShashi Kant Chauhan :cool:[/quote]FYI - I believe that only sets the options for that particular query.  You need to use the Tools-&amp;gt;Options route to enable the headers for all queries going forward.-Marianne</description><pubDate>Fri, 13 Jun 2008 13:37:11 GMT</pubDate><dc:creator>Marianne L Collins</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>WooHoo!!!:w00t::w00t:</description><pubDate>Fri, 13 Jun 2008 12:44:52 GMT</pubDate><dc:creator>Alan Vogan</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>Great tips thanks.  I never knew that option existed.</description><pubDate>Fri, 13 Jun 2008 12:09:50 GMT</pubDate><dc:creator>Jacob Bennett</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>In Enterprise Manager you have to highlight the column header by clicking the cell header.</description><pubDate>Fri, 13 Jun 2008 10:02:56 GMT</pubDate><dc:creator>KenSimmons</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>[quote][b]seiiv (6/13/2008)[/b][hr]How do you setup this functionality in Enterprise Manager?[/quote]In Enterprise Manager I have not been able to copy column headers in Query Analyzer.  Instead I create and run the query in the "View Designer", then use shift and arrow keys to highlight all the columns, then copy and paste.  Do not need to save as a view, just use its query builder. :cool:</description><pubDate>Fri, 13 Jun 2008 09:11:41 GMT</pubDate><dc:creator>Russel Bell</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>HI,There is other alternative available for this header optionYou can get this option by selecting these optionsQuery -&amp;gt; Query Options -&amp;gt;Results -&amp;gt; and then select the option of Include column headers when copying or saving the resultsRegardsShashi Kant Chauhan :cool:</description><pubDate>Fri, 13 Jun 2008 08:50:44 GMT</pubDate><dc:creator>shashi kant</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>I'm using SP2 and my screen has an extra tick box, 'Quote strings contain list separators when saving .csv results' under Results to Grid. Anyway, it now works! Thanks.</description><pubDate>Fri, 13 Jun 2008 08:50:10 GMT</pubDate><dc:creator>Jon Spink</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>Thanks for a good tip.......:)</description><pubDate>Fri, 13 Jun 2008 08:49:46 GMT</pubDate><dc:creator>Anipaul</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>How do you setup this functionality in Enterprise Manager?</description><pubDate>Fri, 13 Jun 2008 08:49:22 GMT</pubDate><dc:creator>seiiv</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>I have found that column headers behave differently when writing a query from scratch (new query) versus opening a table.  When I "open" a table with a right click, I cannot get column headers even with the option set.  When I use "New query" the setting works.When opening a table the Query Designer toolbar is active, enabling "Change Type", "Verify SQL Syntax", etc.  In this mode the column headers do not copy even when the option is set correctly.When using "New Query", the Query Designer toolbar is not active and the column header copies when the option is set.Another observation.  In SQL 2000, the grid lines would copy when pasting to Outlook.  Now I have to paste into Excel and turn on grid lines to get lines when pasting.  Anyone found a better way? ;)</description><pubDate>Fri, 13 Jun 2008 07:59:29 GMT</pubDate><dc:creator>Russel Bell</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>Thank you, thank you, THANK YOU!We run a lot of ad-hoc queries for a group of users, and send the results back in Excel spreadsheets - this help immensely.</description><pubDate>Fri, 13 Jun 2008 07:53:59 GMT</pubDate><dc:creator>Stephanie J Brown</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>Which service pack are you running?</description><pubDate>Fri, 13 Jun 2008 07:40:09 GMT</pubDate><dc:creator>Jeff Moden</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>This doesn't work for me. I have SS2005, but I'm still not getting those pesky headers...</description><pubDate>Fri, 13 Jun 2008 06:42:41 GMT</pubDate><dc:creator>Jon Spink</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>Thank you for this Top Tip. It's been secretly annoying me for ages not taking the column headers across.Nice one :)</description><pubDate>Fri, 13 Jun 2008 03:55:53 GMT</pubDate><dc:creator>d trotman</dc:creator></item><item><title>RE: Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>After switching to SSMS I worked my way through all the options and found this tip a short time ago. But the only thing I really miss is that in QA I got a message for each Insert/Update/Delete of how many rows are/were affected.I couldn't find an option or configuration help how to get this back. Seems to be lost in SSMS.Anyone an idea?</description><pubDate>Fri, 13 Jun 2008 02:57:39 GMT</pubDate><dc:creator>Knut Boehnert</dc:creator></item><item><title>Include Column Headers From SSMS</title><link>http://www.sqlservercentral.com/Forums/Topic516389-1306-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/SQL+Server+2005/63184/"&gt;Include Column Headers From SSMS&lt;/A&gt;[/B]</description><pubDate>Thu, 12 Jun 2008 21:51:49 GMT</pubDate><dc:creator>KenSimmons</dc:creator></item></channel></rss>