Click here to Skip to main content
15,917,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to transffer data from a DB2(source) table to Sql(destination) table.
While execute the task I am getting below errors:-

Error# 1
[OLE DB Source [1525]] Error: There was an error with output column "ABC" (1545) on output "OLE DB Source Output" (1535). The column status returned was: "The value could not be converted because of a potential loss of data.".

Error# 2
[OLE DB Source [1525]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "output column "ABC" (1545)" failed because error code 0xC0209072 occurred, and the error row disposition on "output column "ABC" (1545)" 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.

Error# 3
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "OLE DB Source" (1525) returned error code 0xC0209029. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.

Pleas hele !!!!!!!!!!!
Posted

1 solution

Quote:
The column status returned was: "The value could not be converted because of a potential loss of data.".
Well, the column tín the target table is to small for the data. E.g. a varchar(255) in the source, but a varchar(10) in the target.
Solution: Make sure that the column definitions for the target table meet the space requirements of the data.
 
Share this answer
 
Comments
Rohit Lal 7-Feb-15 12:25pm    
Sorce and destination both have varchar 12

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900