Friday 8 August 2014

Data conversion failed

Error Message:
[Flat File Source [1]] Error: Data conversion failed. The data conversion for column "CAMP_TA" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
[Flat File Source [1]] Error: The "output column "CAMP_TA" (38)" failed because truncation occurred, and the truncation row disposition on "output column "CAMP_TA" (38)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.


Solution:
  • We can find the column name which is causing the problem.
  • Verify the ETL, where the error is occurring (during source extraction or Target Loading)
    • Source extraction: If ETL is failed during source extraction.
      • go to source (Oledb or flat file source) advance editor options.verify the column data type and length. verify the source (source table/file) column data type and length.
      • Change the data type or length of the column based on requirement.
    • Target loading
      • Verify the source and target data type and length
      • Change the data type or length of the column based on requirement.

No comments:

Post a Comment