TechTip: Getting Started with the SSIS Toolbox

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Get to know this core component of Microsoft SQL Server Integration Services—a vital part of a multi-platform database-access solution

Editor’s Note: This article is excerpted from chapter 3 of Extract, Transform, and Load with SQL Server Integration Services--with Microsoft SQL Server, Oracle, and IBM DB2, by Thomas Snyder and Vedish Shah.

To build your own “database-agnostic” data access solution based on Microsoft SQL Server Integration Services (SSIS), you will need to understand several components, one of which is the SSIS Toolbox. Here we will introduce the SSIS Toolbox and then step you through some of the most commonly used elements or tasks from the SSIS Toolbox component, which are used to create an SSIS workflow.

SSIS Solution Components

Before we get started with SSIS, a quick explanation of the components is in order. A solution is like your main directory, which contains multiple sub-directories. A solution is designated with an .sln extension filename. Within a solution, the project is your main sub-directory and is designated with a .dtproj extension filename. A project is further split into multiple components: packages, connection managers, and so on. You can create multiple projects in a solution, and when you first create your new SSIS project, a new package will be created and presented to you by default. Packages are designated with a .dtsx extension filename. You can add as many packages as you’d like to your project.

SSIS Toolbox

The SSIS Toolbox (Figure 1) holds the different elements used to construct an SSIS package workflow. The Toolbox displays components in a categorized form and will display only those tools available for the view you are in. You cannot create your own categories, but you can move tools around and maximize and minimize categories for ease of use. If you choose, you can install additional third-party tools in the Toolbox. Once they are installed, you can right-click inside the Toolbox and click the Refresh Toolbox option to see your newly installed tools.

TechTip: Getting Started with the SSIS Toolbox - Figure 1

Figure 1: SSIS Toolbox

By default, the Toolbox is displayed automatically either when a new package is created or when you open an existing package. If you have a difficulty finding the toolbox, you can simply click the SSIS Toolbox button located at the top right of the design window.

Common Elements

The most commonly used elements within a SSIS package are Execute SQL Task, Data Flow Task, Script Task, and Containers. Below we have provided a brief description of each element so that you can start building your package right now to do some basic functionalities, without our help!

Execute SQL Task

The name says it all. This task helps you to execute SQL queries in your preferred connection. Pick your SQL connection; write out your SQL statement; capture result sets, if any; pass in parameters, if any; or set up your expressions to run dynamic SQL statements that would be evaluated during runtime.

Data Flow Task

A Data Flow Task lets you set up data transformation and cleansing between your preferred sources and destinations.

Script Task

This task, shown in Figure 2, lets you write C# or Visual Basic code to perform actions that are not executable using the standard SSIS tasks—for example, to gather detailed file information about a file you are trying to process using your SSIS package.

TechTip: Getting Started with the SSIS Toolbox - Figure 2

Figure 2: Script Task component, which is used to pull file information and, further down the pipeline, save that information into a database table

Containers

Containers (Figure 3) let you loop (For or For Each) through your data set to perform required actions. It also lets you organize your SSIS package workflow into controlled sets that are easier to understand as a single entity.

TechTip: Getting Started with the SSIS Toolbox - Figure 3

Figure 3: Containers showing separation of file tasks and member tasks

Thomas Snyder

Thomas Snyder has a diverse spectrum of programming experience encompassing IBM technologies, open source, Apple, and Microsoft and using these technologies with applications on the server, on the web, or on mobile devices.

Tom has more than 20 years' experience as a software developer in various environments, primarily in RPG, Java, C#, and PHP. He holds certifications in Java from Sun and PHP from Zend. Prior to software development, Tom worked as a hardware engineer at Intel. He is a proud United States Naval Veteran Submariner who served aboard the USS Whale SSN638 submarine.

Tom is the bestselling author of Advanced, Integrated RPG, which covers the latest programming techniques for RPG ILE and Java to use open-source technologies. His latest book, co-written with Vedish Shah, is Extract, Transform, and Load with SQL Server Integration Services.

Originally from and currently residing in Scranton, Pennsylvania, Tom is currently involved in a mobile application startup company, JoltRabbit LLC.


MC Press books written by Thomas Snyder available now on the MC Press Bookstore.

Advanced, Integrated RPG Advanced, Integrated RPG
See how to take advantage of the latest technologies from within existing RPG applications.
List Price $79.95

Now On Sale

Extract, Transform, and Load with SQL Server Integration Services Extract, Transform, and Load with SQL Server Integration Services
Learn how to implement Microsoft’s SQL Server Integration Services for business applications.
List Price $79.95

Now On Sale

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  •  

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: