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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I invoke a DTS Pkg via a SQL SP

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Is it possible to start a DTS package from a SQL Stored Procedure? If so, do you have sample code for this invocation?

thx-
BT
 
There is another way that is not mentioned in that link (or at least I did not notice it).

You can right click on the dts package and create a job. Remove the schedule from the job and then use sp_start_job to run the job as needed. There are some security issues with this that are described fairly well in BOL docs for sp_start_job.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top