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

Error when converting CSV field (DT_STR) to DT_I4 in data conversion task

$
0
0

Hi,

I have a flat file source (CSV) and I am converting one of its field (DT_STR) into DT_I4 through data conversion task when I get this message? The values I'm getting from CSV is either a number or a NULL. 

Error: 0xC02020C5 at Load file to SurveyData, Convert to proper data length [2]: Data conversion failed while converting column "OB" (3250) to column "cnv_OB" (1281).  The conversion returned status value 2 and status text "The value could not be converted because of a potential loss of data.".
Error: 0xC0209029 at Load file to SurveyData, Convert to proper data length [2]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "Convert to proper data length.Outputs[Data Conversion Output].Columns[cnv_OB]" failed because error code 0xC020907F occurred, and the error row disposition on "Convert to proper data length.Outputs[Data Conversion Output].Columns[cnv_OB]" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.

What could have caused this error?


cherriesh


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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