Saving results with headers in Sql Server Management Studio

后端 未结 10 2288
长发绾君心
长发绾君心 2020-12-13 01:35

I am using SQL Server Management Studio.

I wish to save the results of a query to an excel file.

I choose \"save as\" and then save to CSV file which I ca

10条回答
  •  渐次进展
    2020-12-13 02:05

    In SQL Server 2014 Management Studio the setting is at:

    Tools > Options > Query Results > SQL Server > Results to Text > Include column headers in the result set.

提交回复
热议问题