SSIS Integration Services | Previous versions exercise | Sampling dinosaurs in 2 streams, then reporting results

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 ==> Previous versions  (18 exercises)
Level ==> Harder than average
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.

Create a package called Dinosaur sampling.  You'll need to create 3 variables:

Variable What it will hold
DinoCount1 The number of dinosaurs going down the left-hand pipe.
DinoCount2 The number going down the right-hand pipe.
DinoTotal The number coming out the bottom.

All of this will make sense when you look at the data flow diagram below:

Percentage sampling flow diagram

We'll use a Percentage Sampling transformation to split the data into two streams, wtih 50% of the dinosaurs in each.

The control flow should end with a script to display the results found:

The data flow and script tasks

The Show results script should have 3 ReadOnly variables defined for it.


When you run this package, you should see something like this:

Results message

For some reason, the 50% sample never seems to contain 50% of the dinosaurs ...


Close this package, and say a joyful goodbye to dinosaurs for now!

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