Derived Column Failed because of truncation occured...?

[Derived Column[2]] Error: The "Derived Column" failed because truncation occurred, and the truncation row disposition on "Derived Column.Inputs[Derived Column Input].Columns[WeightUnitMeasureCode]" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Check Nulls" (2) failed with error code 0xC020902A while processing input "Derived Column Input" (3). 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.

Expression : 

ISNULL(WeightUnitMeasureCode) ? "UNKNOWN" : WeightUnitMeasureCode

Data Type :     Length

Unicode string [DT_WSTR] 3

Please help me out get rid of this error.



  • Edited by Fmalik Wednesday, July 22, 2015 3:04 AM
July 22nd, 2015 2:58am

Hi Fmailk,

Just as the error message said, the issue is caused by a truncation error occurred on the "Derived Column.Inputs[Derived Column Input].Columns[WeightUnitMeasureCode]" column. It means that the column has more characters than its length.

According to your description, the exactly cause is you specify the derived column Length property to 3, while when the WeightUnitMeasureCode value is null, the derived column returns "UNKNOWN" value which longer than 3. So the error occurs.

To fix this issue, please specify an appropriate value for the derived column Length property.

Thanks,
Katherine Xiong

Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2015 5:13am

Hi Katherine Xiong

I am really thankful to you.Your elaboration is so good for me.My error resolved now.You are great!!!

Thanks,
Fmalik

July 23rd, 2015 5:29pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics