简体   繁体   English

如何使用DTEXEC远程运行SSIS包?

[英]How can I remote run an SSIS package using DTEXEC?

I'm very new to using dtexec and to deploying SSIS packages (mostly just run them in VS). 我对使用dtexec和部署SSIS包(大多只是在VS中运行它们)非常陌生。 I would like to remote run a package that I have deployed to a server using DTEXEC... 我想使用DTEXEC远程运行已部署到服务器的程序包...

The package name is SQL2012 Update Run. 程序包名称为SQL2012 Update Run。 When I open up SSMS, the package is found under 当我打开SSMS时,该包位于

Integration Services Catalogs -> SSISDB -> ServerUpdate -> Projects -> UpdateRun -> Packages -> SQL2012 Update Run Integration Services目录-> SSISDB-> ServerUpdate->项目-> UpdateRun->软件包-> SQL2012 Update Run

The server name is 1555\\C1592. 服务器名称为1555 \\ C1592。

I have tried all sorts of variations on using the /sql command, the /ser command, /dts, /file, I just can't seem to get it to run. 我已经尝试过使用/ sql命令,/ ser命令,/ dts,/ file的各种变体,但我似乎无法使其运行。

How would I use the dtexec utility to run the package at the specified location using integrated security? 我如何使用dtexec实用程序使用集成安全性在指定位置运行软件包?

Edit: Oh and there are 4 parameters, 3 are strings and one is an int16, how would I pass these in? 编辑:哦,有4个参数,3个是字符串,一个是int16,我将如何传递这些参数?

Thank you 谢谢

Below is an example of how write dtexec with the dtsx file location and variable input. 下面是一个如何使用dtsx文件位置和变量输入写入dtexec的示例。

example: 例:

dtexec /F "C:\Temp\Test.dtsx" /SET \Package.Variables[User::Guess_A_Number].Properties[Value];3

Shell (Edit): 外壳(编辑):

dtexec /F "<your_directory/<your_file>.dtsx" /SET \Package.Variables[<Your Variable>].Properties[Your Value];<Your Value>

Explanation: /F is the location of your dtsx (SSIS) package /SET to set your variables. 说明:/ F是dtsx(SSIS)包/ SET用来设置变量的位置。

More info on dtexec: TechNet Link 有关dtexec的更多信息: TechNet链接

Hope this helps! 希望这可以帮助!

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

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