Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

[Data Conversion [3975]] Error: Data conversion failed while converting column "ABCD" (1383) to column "Copy of ABCD" (3985). The conversion returned status value 4 and status text "Text was truncated or one or more characters had no match

$
0
0

I am having OLE DB source (IBM DB2). Couple of columns have junk values (and those columns are defined as unicode DT_WSTR as OleDBReturnCharAsWhar = 1 by default).

But in the destination SQL DB, the datatype is VARCHAR. So when I am converting the values the job is failing. How can I convert these values for a successful load?

I tried CAST/CONVERT at the source (CONVERT (VARCHAR(1),ABCD)), Derived column ((DT_STR,1,1252) ABCD) and data conversion task, but all are failing when they encounter the junk value.

Can someone please help.. Thanks...


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>