Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I execute a SSIS pkg from within a SQLServer stored procedure

Status
Not open for further replies.

DickB1

Programmer
Aug 13, 2009
1
US
We have a generic stored procedure to execute DTS packages. Does someone have code to do the same for a SSIS package stored in the MSDB database?
 
I would never do this, nor would I ever want to. Try to keep as much non-TSQL stuff out of stored procedures as you can.

But, if you must, I suppose you could use xp_cmdshell in conjunction with the DTExec.exe executable on the server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top