加入收藏 | 设为首页 | 会员中心 | 我要投稿 安卓应用网 (https://www.0791zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 数据库 > MySql > 正文

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

发布时间:2020-05-23 19:18:17 所属栏目:MySql 来源:互联网
导读:我在尝试将4个表从MySQL源复制到SQL Server 2008时遇到错误.这是一张数据流的照片,正如你所看到的,其中2张是好的(较小的)使用OnError事件处理程序,我能够看到错误.他们来了. SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code:

我在尝试将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.

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

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

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

(编辑:安卓应用网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读