September 30, 2008 at 5:20 am
Hi,
I am getting the following error message while trying to convert a Column form varchar to Nvarchar in SSIS. The source column is of Varchar(259 -length) and the destination column is Nvarchar(256 -length)
[Data Conversion [1131]] Error: Data conversion failed while converting column "Expense_Incurred_Currency" (184) to column "Expense_Incurred_Currency_New" (1603). The conversion returned status value 2 and status text "The value could not be converted because of a potential loss of data.".
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Data Conversion" (1131) failed with error code 0xC0209029 while processing input "Data Conversion Input" (1132). 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.
[Data Conversion [1131]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "output column "Expense_Incurred_Currency_New" (1603)" failed because error code 0xC020907F occurred, and the error row disposition on "output column "Expense_Incurred_Currency_New" (1603)" 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.
How to resolve this. Any solutions????
Rajasekar.
October 1, 2008 at 9:54 am
The error is saying that you are trying to take a source column with a length of 259 and put the data in a destination column with a length of 256.
If possible, try and cast it as 256 in SQL and see if it works, it will complain if there is any data wider than 256 in which case you will have to up your destination column width to 259.
~PD
August 4, 2021 at 6:17 am
This was removed by the editor as SPAM
October 3, 2022 at 4:22 am
This was removed by the editor as SPAM
January 12, 2023 at 7:15 am
This was removed by the editor as SPAM
January 12, 2023 at 7:17 am
This was removed by the editor as SPAM
April 20, 2023 at 9:34 am
This was removed by the editor as SPAM
April 20, 2023 at 9:35 am
This was removed by the editor as SPAM
April 24, 2023 at 6:38 am
This was removed by the editor as SPAM
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply