SSIS Integration Services | Data flow tasks exercise | Import multiple CSV files of Big Bang data into SQL Server

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

You can learn how to do this exercise if you attend the course listed below!

Software ==> SSIS Integration Services  (46 exercises)
Version ==> SSIS 2012 and later
Topic ==> Data flow tasks  (4 exercises)
Level ==> Harder than average
Course ==> Introduction to SSIS
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Run the SQL script in the above folder to generate a table of Big Bang Theory episodes:

Big Bang table

If you've never seen the Big Bang Theory ... do so!

Create a new package called Big Bang Theories, and use a MultiFlatFile connection to import all four CSV files in the above folder into the SQL Server table you've just generated:

The generated episodes

The final table should contain all 91 episodes from the four CSV files (a few of which are shown here).

Check your package runs every time you execute it (you'll need to add an Execute SQL task to truncate the table each time), then close it down.

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only.
This page has 1 thread Add post
17 Jul 20 at 12:57

We have to use a For Each Loop Container to complete this task.

21 Jul 20 at 10:11

Normally you would, but the point of a MultiFlatFile source is that it will automatically load all of the files specified.