0

How is it possible to execute a SSIS 2008 Package by using SQL in SQL Server 2008 ?

1 Answer 1

3

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:

  1. Using SQL Server Business Intelligence Development Studio (BIDS)

  2. Using the DTEXEC.EXE Command Line Utility

  3. Using a SQL Server Agent Job

  4. Using the DTEXECUI.EXE Utility

How to: Run a Package

Can you explain why you need to run from TSQL?

Sign up to request clarification or add additional context in comments.

8 Comments

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.
command used in TSQL for executing ssis package. I found in one of our projects. the syntax is xp_cmdshell '<<DTEXEC SSIS_PATH>>'
that's what I said in the first line of my answer!
@Sreejesh Kumar: if this answer helped you please consider upvoting and/or accepting it.
Please amend your question. Provide the stored procedure and sample parameters so that we can help you.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.