2013-06-11 85 views
1

我得到這個截斷錯誤,我不知道如何解決它。輸入和輸出的長度是4000。SSIS截斷失敗

Error: 0xC02020C5 at Data Flow Task, Data Conversion [16]: Data conversion failed while converting column "DESCRIPTION" (99) to column "Copy of DESCRIPTION" (201). 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.".

Error: 0xC020902A at Data Flow Task, Data Conversion [16]: The "output column "Copy of DESCRIPTION" (201)" failed because truncation occurred, and the truncation row disposition on "output column "Copy of DESCRIPTION" (201)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.

Error: 0xC0047022 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Data Conversion" (16) failed with error code 0xC020902A while processing input "Data Conversion Input" (17). 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.

+1

由於錯誤消息提到了代碼頁,我懷疑你的問題與此有關。你的字符串是Unicode嗎?確保使用數據類型DT_WSTR(unicode)而不是DT_STR。 –

+0

什麼是您的數據來源? Excel中?來自Access的Memo字段?還有別的嗎?你想用這個描述做什麼?從NTEXT到DT_STR的Conver? – billinkc

+0

你說輸入和輸出的長度是4000,你的意思是你的源和目標對象?如果不是,請確保具有'列'屬性的任何對象具有正確的數據類型/長度。 –

回答

1

我最終忽略了錯誤,因爲它沒有以任何方式改變我的數據。