简体   繁体   English

如何在SSIS包中执行SQL任务2之间做一个中间步骤

[英]How to make a middle step between 2 execute sql task in ssis package

I have a package that looks like this: 我有一个看起来像这样的包裹:

在此处输入图片说明

When I add a constrain between the for loop and the SQL Task on the left side, it will stop the package at the execute sql task on the middle. 当我在左侧的for循环和SQL任务之间添加约束时,它将在中间的execute sql任务处停止程序包。

Like this: 像这样:

在此处输入图片说明

How to make this work? 如何使这项工作? I tried lots of ways but nothing is working. 我尝试了很多方法,但是没有任何效果。

Set one of the constraints to ' Logical OR '. 将约束之一设置为“ 逻辑或 ”。 You have multiple constraints leading to 'Sql task - Set ExecutionLock'. 您有多个约束导致“ SQL任务-设置ExecutionLock”。 If you left the constraint with the default value of ' Logical AND ', both paths would have to evaluate to true in order for this task to execute. 如果使用默认值' Logical AND '保留约束,则两个路径都必须评估为true才能执行此任务。

在此处输入图片说明

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM