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 | Find the id number for each X Factor mentor
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 one of more of the courses 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 show a table of mentors for X Factor contestants:
In the UK version of the X Factor (a reality TV show) each contestant is assigned a mentor to guide them through the procedures. That's all you need to know about the show!
The idea behind this exercise is to find the contestants whose mentors don't appear in the list above, and report them as having mentor number 9 (Unknown) instead. To start, create a package called Mentors, and within this create a variable to make it easier to refer to the unknown mentor id number:
Create an integer variable, and set it to equal 9.
Create a data flow task to import the finalists from Excel, and look up for each the mentor id from the Mentor table:
What the final package could look like.
Check that in the Finalist table that each contestant has a mentor id (six of these will be 9, for Unknown), then close the package down.