且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在excel文件ssis中存储可执行的sql任务结果

更新时间:2021-11-11 01:03:52

添加包含脚本组件源的数据流任务,您可以在其中从记录集和 Excel 目标生成输出行:

Add a Data Flow Task that contains a Script Component Source where you generate output rows from the recordset and an Excel Destination:

另一方面,您可以简单地使用您在 OLE DB 源中的执行 SQL 任务中执行的 SQL 命令,这更简单.

On the other hand, you can simply use the SQL Command that you are executing in the Execute SQL Task in an OLE DB Source which is more simple.