An alternative method is to go into Enterprise Manager - Right click the table - All Tasks - Export Data...
This will take you through a wizard to export data from that table (or tables) to a number of different formats including Excel.
You just specify the source server, destination server (change destination to Excel and give a file name), and the data you want to export which can be either a query or a whole table
Main Topics
Browse All Topics





by: rafranciscoPosted on 2005-10-12 at 07:16:53ID: 15069025
To include the column headers in the selection when copying it, you have to change how Query Analyzer displays the output. In Query ANalyzer, go to Tools --> Options and go to the Results tab. Change the Default results target to "Results to Text" and change the Results output format to "Tab Delimited". Then run your query and the column headers will be there.