【发布时间】:2014-08-19 22:34:24
【问题描述】:
我在 sql 命令中从变量中使用以下查询来从两个不同的表中获取数据。
SELECT x.*, y.col1, y.col2
FROM table1 AS x
INNER JOIN table2 AS y ON y.AccID = x.accID
根据我的业务逻辑,我需要将查询用作变量中的 sql 命令。 当我将 DelayValidation 设置为 True 后运行包时,出现以下错误:
"[OLE source **table1**]] Warning: The external columns for component
"OLE source" (1) are out of synchronization with the data source columns.
The external column "**col2**" (601) needs to be removed from the external columns.
The external column "**Col1**" (598) needs to be removed from the external columns."..
[SSIS.Pipeline] Error: "component "OLE source **table1** " (1)" failed validation
and returned validation status "VS_NEEDSNEWMETADATA".
【问题讨论】:
标签: ssis