防止 SSIS 在目的地创建一个空的 csv 文件 [英] Prevent SSIS for creating an empty csv file at destination
本文介绍了防止 SSIS 在目的地创建一个空的 csv 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个 SSIS 以导出到 csv 文件如果没有数据,我不想我的 SSIS 创建一个空文件.
I created a SSIS to export to a csv file I don't wan't my SSIS to create an empty file if there is no data.
我怎样才能做到这一点?
How can I achieve this ?
谢谢,
推荐答案
如果没有行,您是否建议您的项目何时创建 CSV?
Are you suggesting that when your project will create the CSV if there are no rows?
如果是这种情况 - 保持行数.
If that is the case - keep a row count.
如果最后行数 = 0,则删除文件.
If row count = 0 at the end the delete the file.
这篇关于防止 SSIS 在目的地创建一个空的 csv 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文