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.

The answer to the exercise will be included and explained if you attend the Wise Owl course listed below!

Category ==> SSIS Integration Services  (18 exercises)
Topic ==> Previous versions  (18 exercises)
Level ==> Harder than average
Course ==>
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!

This page has 0 threads Add post