I am trying to export data from sql to a csv file using ssis. In the data flow task my source is OLE DB
and then a data conversion for the column that its failing on set to data length 500
and in then the flat file destination
. In the flat file connection settings I made sure the data length is set at 500
.
Still getting the error:
[Flat File Destination [12]] Error: Data conversion failed. The data conversion for column "description" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
NOTE: SSIS set the data length at 450 by recognition and that was the initial fail before I made the change of data length to 500./
It sounds like you have some special characters in your data. Try a different code page in your flat file connection manager. You can try changing it to 65001 UTF-8
Similar article:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.