I am getting this error when trying to execute the SSIS package.
[Flat File Destination [22]] Error: Data conversion failed. The data
conversion for column “DC” returned status value 4 and status text
“Text was truncated or one or more characters had no match in the
target code page.”.
The column is of size 10 and I want that to be 4 in output, I had that set in my flat file but is not working.
Please advise where I am going wrong.
Regards
V.
If you don’t want to mess with the Flat File properties, you could trim the value in your data source. IE
SELECT SUBSTRING(Column,1,4) AS Column FROM Table.