Export (0) Print
Expand All
3 out of 7 rated this helpful - Rate this topic

Lesson 3: Adding Package Configurations

Package configurations let you set run-time properties and variables from outside of the development environment. Configurations allow you to develop packages that are flexible and easy to both deploy and distribute. Microsoft SQL Server 2005 Integration Services (SSIS) offers the following configuration types:

  • XML configuration file
  • Environment variable
  • Registry entry
  • Parent package variable
  • SQL Server table

In this lesson, you will modify the simple Integration Services package that you created in Lesson 2: Adding Looping to take advantage of package configurations. You can also copy the completed Lesson 2 package that is included with the tutorial. Using the Package Configuration Wizard, you will create an XML configuration that updates the Directory property of the Foreach Loop container by using a package-level variable mapped to the Directory property. Once you have created the configuration file, you will modify the value of the variable from outside of the development environment and point the modified property to a new sample data folder. When you run the package again, the configuration file populates the value of the variable, and the variable in turn updates the Directory property. As a result, the package iterates through the files in the new data folder, rather than iterating through the files in the original folder that was hard-coded in the package.

ms167153.note(en-US,SQL.90).gifImportant:
This tutorial requires the AdventureWorksDW sample database. For more information about how to install and deploy AdventureWorksDW, see Running Setup to Install AdventureWorks Sample Databases and Samples.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.