A Microsoft platform for building enterprise-level data integration and data transformations solutions.
The error occurs because the Derived Column is configured to fail on truncation and the cast from DT_TEXT to DT_STR,8000 is truncating some rows.
In SSIS, truncation is treated separately from hard errors. When a truncation happens and the column’s TruncationRowDisposition is set to Fail Component, SSIS raises DTS_E_INDUCEDTRANSFORMFAILUREONTRUNCATION (0xC020902A) and stops the Data Flow.
To resolve this, use one of these options:
- Increase or change the data type
- If the destination can store longer text, avoid truncation by:
- Using a Unicode/text type at the destination (e.g.,
DT_TEXT/NTEXTequivalent) instead ofDT_STR(8000). - Or increasing the length of the target column so it can hold the maximum length of
[Description].
- Using a Unicode/text type at the destination (e.g.,
- If the destination can store longer text, avoid truncation by:
- Allow truncation but keep the row
- In the Derived Column editor, open the Configure Error Output dialog for the Derived Column component.
- For
DESCRIPTION, set Truncation to Ignore failure. - This keeps the row and silently truncates the value to 8000 characters.
- Redirect truncated rows for inspection
- In Configure Error Output, set Truncation to Redirect row for
DESCRIPTION. - Connect the error output to another destination (e.g., a table or flat file) to capture rows where truncation occurs and review them.
- In Configure Error Output, set Truncation to Redirect row for
These behaviors (Fail Component, Ignore Failure, Redirect Row) are the standard SSIS options for handling truncations and are what control whether the Derived Column fails when truncation happens.
References: