BIDS Package Error's on Truncate while EXPORTING to flat file

六眼飞鱼酱① 提交于 2019-12-25 08:29:02

问题


I have a BIDS package. The final "Data Flow Task" exports a SQL table to Flat File. I receive a truncation error on this process. What would cause a truncation error while exporting to flat file? The error was occurring within the "OLE DB" element under the Data Flow tab for the "Data Flow Task".

I have set the column to ignore truncation errors and the export works fine.

I understand truncation errors. I understand why they would happen when you are importing data into a table. I do not understand why this would happen when outputting to a flat file.


回答1:


This might be occurring for many reasons. Please make sure some of the steps listed below:

1) Check the source Data types that has to match with destination data type. If there are different it might through Truncation Error.

2) Check if there are blocks :- You can check this by creating Data viewer before the Destination and see the data come through.



来源:https://stackoverflow.com/questions/22253897/bids-package-errors-on-truncate-while-exporting-to-flat-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!