简体   繁体   中英

Save Results of a SQL Query to an Excel File

I have an SQL Query I'm using to Pull Beds by Unit and the related Number of Beds in Use and Available.

What is the SQL Syntax to have the results of the query save to an excel file (existing or new).

Please Note: I have been searching and I can't believe this isn't easy to figure out. Lots of people seems to use other tools but I want to do it in SQL Stored Procedure - Is this possible?

Thanks so much for your help!

最简单的方法是从Excel中开始,利用与SQLDB的连接,然后将数据提取到excel中,这是最有效的方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM