September 9, 2008 at 3:03 am
Hello,
How to Execute a SSIS Package from Stored Procedure? Or From Windows Application?
thanks in advance.
Vijayraj
September 9, 2008 at 3:25 am
I think you can use dstrun.exe to execute the package. Since its an exe, u don't need to install it on client/destination pc.
September 9, 2008 at 5:14 am
An SSIS package can only be run on an SSIS Server of the appropriate Edition Level. Although you can author a package using BIDS on a machine with only the SQL Client tools installed, it will not run from the command line on that machine without SSIS installed. There is no included remote execution functionality for telling a package to run on the SSIS server from a client machine (other than the SQL Job agent, arguably). Running the package on a machine without the correct edition of SSIS installed gives a vague error message about insufficient product level.
An SSIS package can be executed from within an application using the DTExec command line or through the SSIS object model, but you must be on an SSIS server. So, if you intend to distribute an application that runs SSIS packages locally on a workstation, be prepared to purchase and install a SQL Server license on every client machine.
It is pretty easy to build a web service that will run an SSIS package on the server. It can then be called from a client machine and only require a SQL CAL rather than a full SSIS install on each machine.
September 9, 2008 at 5:44 am
Thanks for the reply.
i m succeded with DTExec command.
But not aware of how to use SSIS object model.
September 9, 2008 at 5:28 pm
Running a package from .NET code can be found here:
November 30, 2011 at 10:23 am
I found that it stopped working with the following sql statement
"Select col1,col2 from table1 where (col1 = " + @[User::IDMEDIUM] +")"
M.L.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply