April 4, 2012 at 2:08 pm
Hi All,
I have created a SSIS Package for the data flow from Oracle to SQL. I have used data conversion .SO that the datatype can be converted. while I am executing the package . I am getting the below error message :
[Data Conversion [4242]] Error: Data conversion failed while converting column "ADDR_1" (53) to column "Copy of ADDR_1" (4515). 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.".
[Data Conversion [4242]] Error: The "output column "Copy of ADDR_1" (4515)" failed because truncation occurred, and the truncation row disposition on "output column "Copy of ADDR_1" (4515)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Data Conversion" (4242) failed with error code 0xC020902A. The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
Error: SSIS Error Code DTS_E_THREADFAILED. Thread "WorkThread0" has exited with error code 0xC020902A. There may be error messages posted before this with more information on why the thread has exited.
ADDR_1 is the name of the column. I have changed the length. and also tried with all kinds of datatype.
Can anybody help with this.
Thanks ,
April 4, 2012 at 2:11 pm
Looks like a conversion from Unicode to non-unicode. I would guess that the data column in Oracle is defined nchar or nvarchar and in SQL Server as char or varchar. Correct?
April 4, 2012 at 2:42 pm
I believe data conversion is the reason I have changed ADDR_1 column to nvarchar. finally it's working ...
Thank you !!!!
Thanks ,
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply