O'Reilly logo

SQL Server DTS by Steve Hughes,, Steve Miller,, Marcelino Santos,, Brian Sullivan, Jim Samuelson,

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required