SSIS Integration Services | Data flow tasks exercise | Export a table of Grand Prix events to a new flat file

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.

Software ==> SSIS Integration Services  (46 exercises)
Version ==> SSIS 2012 and later
Topic ==> Data flow tasks  (4 exercises)
Level ==> Average difficulty
Subject ==> SSIS training
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.

To do this exercise, first open the script in the above folder in Management Studio and execute it to get a table called GrandPrixEvents:

Grand Prix events

The first few rows generated by the above script.


Now create a package called Noisy and pointless, and within this create a data flow task using the above table as a source:

The data flow task

Your new package should take data from the table you've just generated in SQL Server.

Add a flat file destination like this:

Add flat file destination

Click on the Flat File destination, and drag it into your data flow task.

Now connect the source to the destination:

Connect source and destination

Feed the output from the source into the destination.


You should now be able to configure the destination to create a new flat file called Grand Prix venues:

Start of text file

The start of the text file generated when you run your package.


You'll need to create a new flat file connection as part of configuring the flat file destination.

When your package is working, check that it's generated a suitable text file, 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 0 threads Add post