数据流任务成功执行但未将任何行写入Excel文件 [英] Data flow task executing successfully but not writing any rows to Excel file

查看:109
本文介绍了数据流任务成功执行但未将任何行写入Excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究从SQL Server提取数据并将其插入Excel文件中的SSIS包...在数据流任务中,我使用了 OLE Db源 Excel目标

I am working on SSIS package that is fetching data from SQL server and inserting into Excel file... in Data Flow Task i've used OLE Db source and Excel destination.

配置OLE Db源后,我可以预览结果行和数据流任务成功执行没有给出任何错误..但没有插入任何行。.

After configuring OLE Db source i can preview the resulting row and even data flow task executing successfully without giving any error.. but not inserting any row..

推荐答案

很幸运,我找到了答案,我做了两件事。

Well fortunately i found the answer,I did two things..


  1. 我只是删除了旧的数据流任务,在该任务上我尝试了许多不同的设置和参数...,然后重新构建数据流任务...

  1. I just deleted the old Data Flow Task on which i have tried so many different settings and parameters... and Build the Data Flow Task all over again...

在SQL查询中,我写了全限定名而不是使用数据库 语句。

In SQL query i'd wrote the Fully qualified name instead of 'Use Database' Statement.

希望这对某人有帮助。

这篇关于数据流任务成功执行但未将任何行写入Excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆