How is it possible to execute a SSIS 2008 Package by using SQL in SQL Server 2008 ?
1 Answer
Not directly from TSQL (you would have to use xp_cmdshell to run DTEXEC, but that's not recommended)
You can execute a SSIS Package:
Using SQL Server Business Intelligence Development Studio (BIDS)
Using the DTEXEC.EXE Command Line Utility
Using a SQL Server Agent Job
Using the DTEXECUI.EXE Utility
Can you explain why you need to run from TSQL?
8 Comments
Sreejesh Kumar
In our application we have a command button to call a Stored Procedure which will execute the package. And its a requirement too. Thats why I asked about executing package using TSQL.
Sreejesh Kumar
command used in TSQL for executing ssis package. I found in one of our projects. the syntax is xp_cmdshell '<<DTEXEC SSIS_PATH>>'
Mitch Wheat
that's what I said in the first line of my answer!
Mitch Wheat
@Sreejesh Kumar: if this answer helped you please consider upvoting and/or accepting it.
billinkc
Please amend your question. Provide the stored procedure and sample parameters so that we can help you.
|