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 | Import Excel data, redirecting data conversion errors
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 the relevant Wise Owl course (sadly, only in the UK for now).
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.
Run the script in the above folder in SQL Server Management Studio to create a table of 4 Bushtucker Trial menu items.
Create a package which tries to import additional items from the Excel workbook above into this table:
The data flow task consists of an Excel source, a data conversion task, an OLEDB destination and a Union All destination. You should add a data viewer to see redirected errors.
You should configure the error output for the data conversion task to redirect errors.
When you run this package, you should see two errors in the data viewer:
The two data conversion errors - SSIS can't convert Seven and Nine into integers.
Test that your package has added some (but not all) rows to the tblBushTuckerItem table, then close it down.