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

The value could not be converted because of a potential loss of data.

$
0
0

Hi All,

I'm trying to load data from a falt file into a sql server table and i'm getting the following error at the destination table level. The data flow task is Faltfile---->Sort----> 4 lookups----->conditional split----->Derived column---->data conversion----->lookup and from the RED arrow of the last lookup it is going to the destination. I'm getting the following error

[OLE DB Destination 1 [405]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005  Description: "Invalid character value for cast specification".

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005  Description: "Invalid character value for cast specification".

[OLE DB Destination 1 [405]] Error: There was an error with input column "StatusCode" (452) on input "OLE DB Destination Input" (418). The column status returned was: "The value could not be converted because of a potential loss of data."

The data that i'm getting from the lookup table and the destination table have the same data types , but still i'm getting this error. Please need advice.

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>