ssis Derived column error

  • I am trying to load csv file into a sql table through ssis.I am using derived column as below:

    (TRIM([col1]) == "" ? NULL(DT_NUMERIC,27,6) : (DT_NUMERIC,27,6)[col1])

    It gives the following error:

    [Derived Column [220]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "component "Derived Column" (220)" failed because error code 0xC0049063 occurred, and the error row disposition on "output column "dc_col1" (2466)" 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.

    Any help appreciated.

    Thanks

  • What data type is [col1], what possible values are in [col1], and are you creating a new column?

    Todd McDermid - SQL Server MVP, MCTS (SQL 08 BI), MCSD.Net
    My Blog - Dimension Merge SCD Component for SSIS - SSIS Community Tasks and Components

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply