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 | Lookup transforms exercise | Get a list of all the dinosaur time periods which don't match
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!
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.
In SQL Server Management Studio, open the SQL script in the above folder and execute it to get a table of geological periods:
The geological periods to which dinosaurs can belong - we hope.
Create a package called Dodgy Dinos, and within this create a data flow task which imports the list of dinosaurs from the Excel workbook in the above folder:
Untick all of the columns apart from the first four.
Now add a lookup transform to look up the period for each dinosaur in the SQL Server table Periods, and report the errors:
Send the non-matching rows down to a Union All transform, and use a data viewer to see the periods which don't match.
We won't spoil the surprise by revealing the anomalous data, but the two offending dinosaurs should show up in your data viewer.
When this is all working, close the package down.