简体   繁体   English

将数据导出到SSIS中的PDF文件

[英]Export data to a PDF file in SSIS

Is it possible to export data to a PDF file in SSIS? 是否可以将数据导出到SSIS中的PDF文件?

Currently I am exporting it to a txt file using a Flat file destination. 目前我正在使用平面文件目标将其导出到txt文件。 I am using a script to rename the file, so I have tried to rename it to Filename.pdf, but when I try to open it it just says its corrupted. 我正在使用脚本来重命名该文件,因此我尝试将其重命名为Filename.pdf,但是当我尝试打开它时它只是说它已损坏。

I can't seem to find anything relevant in any of the searches that I have done 我似乎无法在我所做的任何搜索中找到任何相关内容

Simply changing the extension will not help you save the file in a PDF format. 只需更改扩展名就无法帮助您以PDF格式保存文件。 You have to invoke a pdf creation program in order to save the Flat File as a PDF. 您必须调用pdf创建程序才能将平面文件另存为PDF。 You can either use the powershell, or write custom code in .net to do so. 您可以使用powershell,也可以在.net中编写自定义代码来执行此操作。

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

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