SSIS Text was truncated with status value 4

前端 未结 7 1210
借酒劲吻你
借酒劲吻你 2020-12-17 10:57

I am developing a SSIS package, trying to update an existing SQL table from a CSV flat file. All of the columns are successfully updating except for one column. If I ignor

相关标签:
7条回答
  • 2020-12-17 11:25

    One possible reason for this error is that your delimiter character (comma, semi-colon, pipe, whatever) actually appears in the data in one column. This can give very misleading error messages, often with the name of a totally different column.

    One way to check this is to redirect the 'bad' rows to a separate file and then inspect them manually. Here's a brief explanation of how to do that:

    http://redmondmag.com/articles/2010/04/12/log-error-rows-ssis.aspx

    If that is indeed your problem, then the best solution is to fix the files at the source to quote the data values and/or use a different delimeter that isn't in the data.

    0 讨论(0)
提交回复
热议问题