OLE DB目标错误

时间:2020-05-14 06:55:57

标签: sql-server ssis oledb

我在SSIS中创建了一个程序包来进行查找转换。我将这种转换放入ForEach循环中。当我运行程序包时,会出现以下OLE DB目标错误。

[OLE DB Destination [48]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Invalid character value for cast specification".

[OLE DB Destination [48]] Error: There was an error with OLE DB Destination.Inputs[OLE DB Destination Input].Columns[REGISTRATION_DATE] on OLE DB Destination.Inputs[OLE DB Destination Input]. The column status returned was: "The value could not be converted because of a potential loss of data.".

[OLE DB Destination [48]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC0209077 occurred, and the error row disposition on "OLE DB Destination.Inputs[OLE DB Destination Input]" 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.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Destination" (48) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (61). 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.

输入和输出表中的列为

Input and Output Tables are:  
NAME,varchar(50)
EMAIL_ADDRESS,varchar(100)
REGISTRATION_DATE,DateTime

我的输入文件是记事本中的“文本文档”,其中各列之间用逗号分隔。 我检查了表的数据类型,它们都匹配。但是为什么仍然会出现这些错误?

0 个答案:

没有答案
相关问题