If, like many DBA’s and developers, you are often called upon to run ad-hoc queries, and then save the results to Excel, here is a handy setting you might want to turn on in SSMS. It is "Include column headers when copying or saving results", as shown below.
Once you turn this on, you can run a query, hit Cntrl-A, then Cntl-V the results into a blank Excel worksheet, and have the column headers come along for the ride.
Technorati Tag: SQL Server