I m trying to import file from Excel
into an SQL table
. When i convert from unicode string[DT_WSTR]
to string[DT_STR]
with data conversion i get a truncation error on some columns. This is output error:
[Data Conversion [2]] Error: Data conversion failed while converting column "Contact Name" (187) to column "DataContactName" (105). The conversion returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
So data flow finish as failure, but some rows are copied to sql table
.
Is there some workaround or what is solution to this?