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.

知道这里发生了什么吗?

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

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

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

相关文章

navicat查看某个表的所有字段的详细信息 navicat设计表只能一...
文章浏览阅读4.3k次。转载请把头部出处链接和尾部二维码一起...
文章浏览阅读488次。恢复步骤概要备份frm、ibd文件如果mysql...
文章浏览阅读225次。当MySQL单表记录数过大时,增删改查性能...
文章浏览阅读1.5k次。Mysql创建、删除用户MySql中添加用户,新...
MySQL是一种开源的关系型数据库管理系统,被广泛应用于各类应...