Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Variables 来自另一个表的变量的SSIS任务_Variables_Ssis_Lookup Tables - Fatal编程技术网

Variables 来自另一个表的变量的SSIS任务

Variables 来自另一个表的变量的SSIS任务,variables,ssis,lookup-tables,Variables,Ssis,Lookup Tables,我对SSIS很陌生。在此之前,我一直在手动编写ETL过程,因此我对这种环境缺乏信心或熟悉。我知道一些基本知识,比如使用静态查询执行SQL和导入 但是,我正在寻找实现以下目标的最佳方法: 我有一个查找表,其中包含to字段和标志的记录列表 对于每个标记为0的记录,我希望使用查询导入记录,以便使用来自上述查找表的查询where子句中的两个字段将数据转储到一个公共表 有人能帮我一下吗 提前谢谢。非常感谢。使用“条件拆分”。它允许按条件将行拆分为多个流。在您的情况下,它将是“[Flag]==0”使用“条件

我对SSIS很陌生。在此之前,我一直在手动编写ETL过程,因此我对这种环境缺乏信心或熟悉。我知道一些基本知识,比如使用静态查询执行SQL和导入

但是,我正在寻找实现以下目标的最佳方法:

我有一个查找表,其中包含to字段和标志的记录列表

对于每个标记为0的记录,我希望使用查询导入记录,以便使用来自上述查找表的查询where子句中的两个字段将数据转储到一个公共表

有人能帮我一下吗

提前谢谢。非常感谢。

使用“条件拆分”。它允许按条件将行拆分为多个流。在您的情况下,它将是“[Flag]==0”

使用“条件拆分”。它允许按条件将行拆分为多个流。在您的情况下,它将是“[Flag]==0”