SSIS:将表从MySQL复制到SQL Server 2008

前端之家收集整理的这篇文章主要介绍了SSIS:将表从MySQL复制到SQL Server 2008前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

我在尝试将4个表从MySQL源复制到sql Server 2008时遇到错误.

这是一张数据流的照片,正如你所看到的,其中2张是好的(较小的)

使用OnError事件处理程序,我能够看到错误.他们来了.

SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error
code: 0x80040E21. An OLE DB record is available. Source: “Microsoft
sql Server Native Client 10.0” Hresult: 0x80040E21 Description:
“Multiple-step OLE DB operation generated errors. Check each OLE DB
status value,if available. No work was done.”.

There was an error with input column “FechaHoraCorteAgente” (884) on
input “OLE DB Destination Input” (510). The column status returned
was: “Conversion Failed because the data value overflowed the
specified type.”.

SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The “input “OLE
DB Destination Input” (510)” Failed because error code 0xC020907A
occurred,and the error row disposition on “input “OLE DB Destination
Input” (510)” specifies failure on error. An error occurred on the
specified object of the specified component. There may be error
messages posted before this with more information about the failure.

SSIS Error Code DTS_E_PROCESSINPUTFailed. The ProcessInput method on
component “OLE DB Destination 2” (497) Failed with error code
0xC0209029 while processing input “OLE DB Destination Input” (510).
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.

The component “ado net conptacto” (1) was unable to process the data.
Exception from HRESULT: 0xC0047020

The component “ADO NET logllamados” (482) was unable to process the
data. Exception from HRESULT: 0xC0047020

SSIS Error Code DTS_E_PRIMEOUTPUTFailed. The PrimeOutput method on
component “ado net conptacto” (1) returned error code 0xC02090F5.
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.

SSIS Error Code DTS_E_PRIMEOUTPUTFailed. The PrimeOutput method on
component “ADO NET logllamados” (482) returned error code 0xC02090F5.
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.

知道这里发生了什么吗?

最佳答案
“转换失败,因为数据值溢出指定的类型.”看起来非常明显,你试图插入一些不适合的东西.我建议您将所有源列与目标列进行比较,并确保:

>长度就够了
>数据类型兼容

你可以发布你的表格结构,如果你想要的话

猜你在找的MySQL相关文章