Chapter 17. Executing a DTS Package from a Stored Procedure

Executing a DTS Package from a Stored Procedure

Now that you have a DTS package designed to provide the functionality you desire, you will have to determine where and when to execute the package. In previous chapters, you executed your packages by using the following methods:

  • Manual execution from the SQL Enterprise Manager

  • Scheduling execution with the SQL Agent

  • Executing the package from another package

  • Initiating the package from custom application code

All the examples described in this chapter use the DTS package you created in Chapter 2, “DTS—An Overview,” called CreateExcelReports. [1]

Executing DTS Packages from T-SQL

In many instances, ...

Get SQL Server DTS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.