一个奇怪数据导入问题
tpxc 2011-03-16 11:28:47 今天对一个数据库做数据导入操作,数据源是excel表格. 导入途中报错. 报错如下. 后来发现时数据源中的一个字段的某个单元格的长度大于255 . 随后修改数据库相应字段.但是无论修改何种长度(最后选了MAX) 导入的时候还是报错. 最后我无奈的把数据源中操作255的字段都清空了,导入成功. 各位是否碰到过类似问题?
Messages
Error 0xc020901c: Data Flow Task: There was an error with output column "fittings_name" (108) on output "Excel Source Output" (9). The column status returned was: "Text was truncated or one or more characters had no match in the target code page.".
(SQL Server Import and Export Wizard)
Error 0xc020902a: Data Flow Task: The "output column "fittings_name" (108)" failed because truncation occurred, and the truncation row disposition on "output column "fittings_name" (108)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
(SQL Server Import and Export Wizard)
Error 0xc0047038: Data Flow Task: The PrimeOutput method on component "Source - Query$" (1) 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.
(SQL Server Import and Export Wizard)
Error 0xc0047021: Data Flow Task: Thread "SourceThread0" has exited with error code 0xC0047038.
(SQL Server Import and Export Wizard)
Error 0xc0047039: Data Flow Task: Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.
(SQL Server Import and Export Wizard)
Error 0xc0047021: Data Flow Task: Thread "WorkThread0" has exited with error code 0xC0047039.
(SQL Server Import and Export Wizard)