gpt4 book ai didi

sql - 将 SSIS 变量传递给 Process 任务

转载 作者:行者123 更新时间:2023-12-04 18:20:10 25 4
gpt4 key购买 nike

如何将 SSIS 中定义的变量作为参数传递给运行 bat 文件的 SSIS Process 任务。

在 bat 文件中,用户名和密码将替换为 %1 参数,输入将从脚本任务传递,脚本任务将从 .NET 前端接收输入。

如果可能,请帮忙截图

enter image description here

谢谢

最佳答案

在脚本任务中,将值写入 SSIS 变量。

在 Exec Process 任务中,修改 Arguments 表达式,将变量传递给任务

这个帖子有截图How to execute a Process Task where the Executable path comes from a user Variable

关于sql - 将 SSIS 变量传递给 Process 任务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12617753/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com