EXERCISE TOPIC▼
- Access exercises (91)
- C# exercises (79)
- Excel exercises (278)
- Power Apps exercises (13)
- Power Automate exercises (18)
- Power BI exercises (139)
- Power Platform exercises ()
- Python exercises (28)
- Report Builder exercises (141)
- SQL exercises (198)
- SSAS exercises (51)
- SSIS exercises (46)
- SSRS exercises (99)
- VBA exercises (85)
- Visual Basic exercises (46)
SSIS 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 | Import contestants, linking to separate category table
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 ==> | Average difficulty |
Subject ==> | SSIS training |
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.
The aim of this exercise is to import the X Factor contestants (again!), storing for each their category number. Here's what the final tblFinalist table should look like:

The final table of finalists (shown here in reverse alphabetical order).
Begin by deleting any existing tables called tblCategory or tblFinalist from your X_Factor database, then run the SQL script in the above folder.

What you should now see in the tblCategory table. All contestants with unknown categories will be assigned the value 5.
Create a variable called UnknownCategoryId to hold the number 5 above (it's better practice to store this in a variable, so we can change it easily).
Optionally create a task to truncate the table of finalists (so that you can rerun the package several times), then create a data flow task looking something like this:

As this shows, there are 32 contestants with no corresponding category name.
When you're happy this is all working OK, give yourself a pat on the back!