WISE OWL EXERCISES
SSIS INTEGRATION SERVICES EXERCISES
- Data flow tasks (4)
- Basic data transforms (1)
- Data conversion transforms (2)
- Conditional split transforms (5)
- Lookup transforms (4)
- Looping over files (3)
- Looping over rows (2)
- Merge joins (1)
- Previous versions (18)
- Script tasks (1)
- Variables in script (1)
- Script components (2)
- Accessing file attributes (2)
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.
You can learn how to do this exercise on the relevant Wise Owl classroom training course (sadly for the moment only in the UK).
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:
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 Show results script should have 3 ReadOnly variables defined for it.
When you run this package, you should see something like this:
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!