Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
GETTING STARTED IN SSIS SCRIPTING
The Script Task and Script Component have greatly increased your possibilities when it comes to script-based ETL development in SSIS. However, it is important to know when to use which component and what things can be done in each.
The following matrix explains when to use each component:
| COMPONENT | WHEN TO USE |
| Script Task | This task is used in the Control Flow. Use this task when you need to program logic that either controls package execution or performs a task of retrieving or setting variables within a package during runtime. |
| Script Component | This component is used in the Data Flow. Use this component when moving data using the Data Flow Task. Here you can apply programmatic logic to massage, create, or consume data in the pipeline. |