使用Windows任务计划程序运行SSIS作业

时间:2015-07-16 13:12:57

标签: sql-server visual-studio-2012 ssis scheduler

我是ETL世界的新手。我最近开始使用SSIS,我遇到了几个问题。

1.Can we run a SSIS Package using windows task scheduler?
2. If the above answer is yes,I don't have the SSMS installed on my machine. Can a SSIS package run in the absence of SSMS?(I do have
Visual studio and SQL server data tools installed)
3. Can a SSIS Package run in the absence of Visual studio and SQL Server Data Tools.Say for example, I create a SSIS package and then
remove Visual studio and SQL server data tools from my machine. Will
the Task scheduler still be able to run the SSIS package?

提前谢谢。

1 个答案:

答案 0 :(得分:3)

您可以通过DTEXEC实用程序从命令提示符运行SSIS作业 检查此查询

dtexec / f / set \ package.variables [Variable];价值

示例: - dtexec / f E:\ test_package \ test_package \ Package.dtsx / set \ package.variables [id]; 1

参考: - Methods to execute SSIS Package