我已经用Lookup分离了 Matching 行,并通过ODLEDB Destination将匹配的数据存储到一个临时表中。
完成数据流任务后,它在Execute SQL Task上出现错误。
属性设置为
ResultSet: "NONE";
ConnectionType:"OLEDB";
Connection:"myDatabase";
SQLType: "Direct Input"
SQL语句
Update dbo.[Payment_Transaction]
SET pt.[Date] = tt.[Date], pt.[FromCurrency]=tt.FromCurrency], pt.[ToCurrency]=tt.[ToCurrency], pt.[TransRate]=tt.[TransRate], pt.[TransType] =tt.[TransType], pt.[TransAmount]=tt.[TransAmount]
FROM dbo.[Payment_Transaction] pt INNER JOIN [##temp_table] tt ON pt.[ID] = tt.[ID]
得到错误说
"Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly"
。
任何人都可以在可能拧干的地方遮住任何灯吗?
谢谢,
贾希德