Data Conversion error to oracle db

Srinivasa Rao Kothapalli 1 Reputation point
2021-06-22T09:02:19.467+00:00

[Data Conversion [2]] Error: Data conversion failed while converting column
"Billing Party Engaging Entity (DUNS, GIS Entity ID, Affiliate Type)" (230)
to column "M_Billing Party Engaging Entity (DUNS, GIS Entity ID, Affiliate Type)" (102).
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 [2]] Error: The "Data Conversion.Outputs[Data Conversion Output].
Columns[M_Billing Party Engaging Entity (DUNS, GIS Entity ID, Affiliate Type)]"
failed because truncation occurred, and the truncation row disposition on "Data Conversion.Outputs[Data Conversion Output].
Columns[M_Billing Party Engaging Entity (DUNS, GIS Entity ID, Affiliate Type)]" 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 "Data Conversion" (2) failed with error code 0xC020902A while processing input "Data Conversion 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.

[OLE DB Source [200]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on OLE DB Source returned error code 0xC02020C4.
The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component,
but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,676 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 46,546 Reputation points
    2021-06-22T09:06:44.333+00:00

    Text was truncated or one or more characters had no match in the target code page.

    As the error message already say: Often cause is that one try to insert longer text then allowed by the column definition, e.g. destination coulmn is defined as varchar(50) and you try to insert 52 characters.
    So check the source data for it's maximum left and if you can allow data loss, then trim the to long text.

    0 comments No comments

  2. ZoeHui-MSFT 41,446 Reputation points
    2021-06-23T01:29:46.27+00:00

    Hi @Srinivasa Rao Kothapalli ,

    On your source task ,right-click - > Show Advanced Editor - > Input and Output Properties - > Source Output - > Output Columns - >Data Type Properties - > Data Type /Length

    Change ( Data Type /Length) in both source & destination in similar way as per your requirement.

    On your source task ,right-click - > Show Advanced Editor - > Input and Output Properties - > Source Output - > Output Columns - > TruncationRowDisposition .

    Fail Component - To fail if truncation occurs

    Ignore Failure - To ignore truncation error

    Redirect Row - To redirect truncated row to desired destination

    Choose with your own needs.

    More details you may refer advanced-editor.

    108365-623.jpg

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues October

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.