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 | Conditional split transforms exercise | Divide the Disney princesses into feminist role models/others
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 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.
Open the SQL script in the above folder in Management Studio and execute it. You should be looking at an empty table:
We'll aim to fill the table with the feisty princesses only.
Create a new package which gets its data from the Excel workbook in the above folder, then use a conditional split to divide the data into 3 streams:
|Feminist rating column equals Feisty||The SQL Server table called Princesses|
|Feminist rating column is not Drippy||A new flat file called Not drippy.txt|
|Everyone else||Ignored (as indeed they should be)|
Here's what the final package should look like:
The final package should look something like this.
Here's what the Princesses table should hold:
Perhaps Pocahontas should have been here too?
Test your package generates a text file of non-drippy, non-feisty princesses, then close it down.