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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.