简体   繁体   English

是否可以远程执行SSIS包?

[英]Is it possible to execute an SSIS package remotely?

I want to execute an SSIS package stored on an SQL server (2008 R2) from another computer. 我想从另一台计算机执行存储在SQL Server(2008 R2)上的SSIS包。 However, everything I've found online involves loading the package from the server and then running it locally. 但是,我在网上找到的所有内容都涉及从服务器加载程序包,然后在本地运行它。

Is it possible to run the package on the server? 是否可以在服务器上运行软件包? Any resources are appreciated. 任何资源表示赞赏。

To execute a package, you normally create a new job and use a job step to start the desired package. 要执行程序包,通常需要创建一个新作业,并使用作业步骤启动所需的程序包。

  1. If you got the sql server management studio(ssms) installed on your remote computer, you simply connect to the database engine and start the job. 如果您在远程计算机上安装了sql server management studio(ssms),则只需连接到数据库引擎并开始作业即可。 Alternativly, you can connect to the integration services with ssms and start the package directly. 或者,您可以使用ssms连接到集成服务,然后直接启动软件包。

  2. If there is no ssms available, you can start the job using the stored procedure sp_start_job . 如果没有可用的ssms,则可以使用存储过程sp_start_job启动作业。 You could use something like this to execute. 你可以使用像这样执行。

You could execute the stored procedure sp_start_job in the remote server. 您可以在远程服务器中执行存储过程sp_start_job。 I've used it (creating a stored procedure to control a bit the parameterisation) succesfully. 我已经成功使用它(创建一个存储过程来控制一些参数化)。

http://msdn.microsoft.com/en-us/library/ms186757.aspx http://msdn.microsoft.com/en-us/library/ms186757.aspx

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

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