Saving results with headers in Sql Server Management Studio

后端 未结 10 2254
长发绾君心
长发绾君心 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:41

    Try the Export Wizard. In this example I select a whole table, but you can just as easily specify a query:

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    (you can also specify a query here)

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    enter image description here

提交回复
热议问题