Preview Content - log in or Join KEBI Academy

How to Create SSIS Package

Want full access? log in or sign up
Self-Learning the easy way
from just $6.00/month
Benefit
Gold Plan
Platinum Plan
Unlimited access to all 75+ bite size courses that cover T-SQL, SSIS, SSRS and more
Unlimited access to 500+ Video & Text Lessons which are short, easy to follow, informative and contain non repetetive content.
Live Webinars and webinar recordings which help you get started, give you opportunity to ask questions to clarify the topic and get together with a group of people with similar interest.
We prepared Do It Yourself (DIY) tasks and projects, which are a great way to boost your experience (no real job required to get experience anymore!) using our real life projects.
You can track your progress on every page we have, which is a great way to get visibility of your progress and also easily know what you have completed and what else you need to do.
You can access to Member Forum which is a great way to get an answer for a technical questions or get a piece of advice from us or one of our members.
We offer 70-461 Practice Tests that cover the same topic and style of questions which is a great way to significantly increase your chances of passing the exam.
SSRS Boot Camp: Become an SSRS Developer in 10 weeks was an interesting time for us and our members and here you have access to the recordings for each week.
Number of users
1
1
Monthly
$12.00/month
Checkout
$18.00/month
Checkout
Quarterly
33% off
$8.00/month
Checkout
$12.00/month
Checkout
Yearly
50% off
$6.00/month
Checkout
$9.00/month
Checkout

Article

If you are new to SSIS and would like to create your first SSIS package then below is a simple example with step by step instructions which will show you how to create an SSIS package in bids. I will use SQL Server Integration Services 2008 R2 and Visual Studio 2008 (instructions should be very similar for 2008 and 2005). This tutorial is for beginners and will not be following best practise which includes using variables and package configuration. At the end of tutorial I will post extra materials (once I create them) which will include best practise and package deployment.

If you need SSIS Overview before you start than please visit the following link SSIS Package

Create SSIS Package – Purpose

The purpose of this package is to load employee data from a CSV file into SQL Server database new employee table.
 

Create SSIS Package – Prerequisites

In order to complete this tutorial you will need:

  • SQL Server 2008 R2 with default localhost instance and BIDS (should work on 2008 and 2005)
  • Employee CSV file which you should save in location you will remember. Download Employee CSV file

 

How to create an SSIS Package

 

First create SSIS Project using BIDS (For more information visit Create SSIS Project)

Below is example of an empty package. I have highlighted the elements we will use and briefly discuss it below (you can ignore the rest):
create ssis package empty

Solution Explorer - on the right you see solution explorer with your SSIS project (first icon from top). If you don’t have it go to view//solution explorer. In majority of cases you will use SSIS Packages only. The rest is not used in practise (best practise).
Package tab - In middle we have our ‘package.dtsx’ opened which contains control flow, data flow that we will use.
Toolbox - This shows ‘tools’ (items/tasks) that we can use to build our ETL package. Toolbox is different for control flow and data flow tabs in the package.
Control Flow - Here you will be able to control your execution steps. For example you can log certain information before you start the data transfer, you can check if file exists, and you can send an email when a package fails or finishes. In here you will also add a task to move data from source to destination however you will use data flow tab to configure.
Data Flow - This is used to extra source data and define destination. During the "data flow" you can perform all sorts of transformation for instance create new calculation fields, perform aggregations and many more.

Let’s get to work.
Make sure you are in control flow tab in SSIS Package designer and in the toolbox find data flow and drag into empty space in control flow pane.

Want full access? log in or sign up
Did you find this page useful?

+10  |  -1
(11 Votes)