问题描述
我有一个程序包,并且在“数据流”中,“源任务”选择数据,列之一为ProcessingTime
,类型为datetime2(7)
。经过一些检查和派生的列之后,便有一个“尺寸缓慢变化”任务。哪个分支分为“插入目标”和“更新目标”
现在的问题是,当我从sql作业中运行程序包时,出现了流错误:
Description = SSIS Error Code DTS_E_PROCESSINPUTFailed. The ProcessInput method on component "Insert Destination" (11) Failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (24). 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 @R_174_4045@ion about the failure.
Description = SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Insert Destination.Inputs[OLE DB Destination Input]" Failed because error code 0xC0209077 occurred,and the error row disposition on "Insert 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 @R_174_4045@ion about the failure.
Description = There was an error with Insert Destination.Inputs[OLE DB Destination Input].Columns[ProcessingTime] on Insert Destination.Inputs[OLE DB Destination Input]. The column status returned was: "The value Could not be converted because of a potential loss of data.".
Description = SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft OLE DB Provider for sql Server" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value,if available. No work was done.".
更大的问题是仅在作业中,在任何Visual Studio或目录中使用“运行包...”都不会发生此错误。
我检查了Source的类型作为Insert Destination,并且两者的类型均为DT_DBTIMESTAMP2
,刻度为7。
我配置了一个自定义的“如果不存在,则插入其他更新”任务,但是我想要本机SCD任务。有什么建议? SSIS的版本为13(2016版)。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)