简体   繁体   English

如何将数据从SQL Server表导出到Excel文件

[英]How to export data from SQL Server table to Excel file

I have a table in a SQL Server database. 我在SQL Server数据库中有一个表。 I want to send the Excel sheet via Email attachment. 我想通过电子邮件附件发送Excel工作表。 I have a code to send the mail but i need to generate an excel sheet of a given table. 我有发送邮件的代码,但我需要生成给定表的Excel工作表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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