Saving results with headers in Sql Server Management Studio

后端 未结 10 2276
长发绾君心
长发绾君心 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 01:58

    I also face the same issue. When I used right click in the query window and select Query Options. But header rows does not show up in output CSV file.

    Then I logoff the server, login again and run the script. Then it worked.

提交回复
热议问题