You are on page 1of 10

SQL Server Integration

Services Training
2. Importing multiple flat files dynamically into a SQL
Server database
Prerequisites Checklist
❏ Prerequisites from Training Video 1: Importing a flat file into a SQL Server database
❏ Multiple sample flat files in csv or txt format (sample data generator: mockaroo.com)
❏ Integration Services package with two Connection Managers (refer to Training Video 1):
❏ Flat File Connection Manager
❏ ADO NET Connection Manager

2
What you will learn in this lesson
● How to create a Foreach Loop
● How to create and map Variables
● How to control Data Flow for multiple flat files
● How to change a Flat File Connection with Expressions
● How to use the Progress tab for reviewing package execution

3
1. Creating a Foreach Loop Task

4
2. Creating and mapping Variables

5
3. Controlling Data Flow for multiple files

6
3. Controlling Data Flow for multi. files (cont’d)

7
4. Changing a File Conn. with Expressions

8
4. Changing a File Conn. with Exp. (cont’d)

9
5. Reviewing Package execution

10

You might also like