2016年4月27日 星期三

(SSIS開發心得) The column status returned was: "Text was truncated or one or more characters had no match in the target code page


明明資料庫上定義的長度夠長
但是SSDT還是提示資料可能會被截斷
後來發現把來源元件刪掉
重新拉來源元件就好了


2017/10/30 今天又遇到,沒重新拉來源元件,用另一種方式解

[來源 4 - XXXXX [2]] Error: There was an error with 來源 4 - XXXXX.Outputs[OLE DB 來源輸出].Columns[YYYYYYY] on 來源 4 - XXXXX.Outputs[OLE DB 來源輸出]. The column status returned was: "Text was truncated or one or more characters had no match in the target code page.".


[來源 4 - XXXXX [2]] Error: The "來源 4 - XXXXX.Outputs[OLE DB 來源輸出].Columns[YYYYYYY]" failed because truncation occurred, and the truncation row disposition on "來源 4 - XXXXX.Outputs[OLE DB 來源輸出].Columns[YYYYYYY]" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.


[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on 來源 4 - XXXXX returned error code 0xC020902A.  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.






沒有留言:

張貼留言