• corneld (11/5/2008)


    I concur with: :hehe:

    SSMS > Tools > Options > Query Results > SQL Server > Results to Grid > 'Include column headers when copying or saving results'

    Otherwise, good effort and nice article!!!

    Indeed - you'd think this would be turned on by default, along with word wrap and display line numbers.

    Good article - I've seen a similar Excel macro solution for Oracle, so I can see this has its applications.



    https://www.abbstract.info/ - my blog
    http://www.sqlsimon.com/ - my experiences with SQL Server 2008