SQL Server I created a table using Union. Is there a way to export it into a csv file? [closed]

hjzp0vay  于 2023-11-16  发布在  其他
关注(0)|答案(1)|浏览(80)

Closed. This question needs details or clarity . It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post .

Closed 3 days ago.
Improve this question

I am using MSSQL, and I generated a table by doing a union on 6 other tables.

I am trying to find a way to export the table into a CSV file that I just created. How can I do so?

Thank you!

iyr7buue

iyr7buue1#

Considering it is not used for automation purpose. You can execute your query, Then right click on result table in ssms, select option "save result as" and you'll get option to save as .csv file.

相关问题