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 | Data conversion transforms exercise | Import an Excel songs list to SQL Server, converting data
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.
First go into SQL Server Management Studio. Open the SQL file in the above folder and execute it, to get an empty table called MillionSellers:
Hmmm ... I wonder what data type those silly owls have used for the Artist and Title columns?
Create a package called Song converter, and use this to try to import the Excel workbook of million-selling songs in the above folder into the SQL Server table that you've just created:
You should now have an error - if you like, you can miss out this stage and go straight to creating the final answer.
Let your mouse hover over the red error icon and you'll see the nature of your problem:
It's those pesky Unicode text strings!
Add a data conversion transform into your data flow so that you can successfully export the Excel workbook of songs to the SQL Server table:
What your final data flow task could look like.
Check that your package has added 123 songs into the SQL Server table, then close it down.