First ensure that Tools, Options, Query Results, SQL Server, Results to Grid, has the check next to Include to column headings when copying or saving the results.
Then run your query in Grid mode, then right click the grid and select Save As, then save it as a csv. Open the CSV in excel and you will have the column headings
David Lundell
Principal Consultant and Trainer
www.mutuallybeneficial.com