Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top