![]() |
|

|
|
By: Daniel Calbimonte | Read Comments (7) | Related Tips: More > Integration Services Development |
Many people want to create a customized migration process using SQL Server Integration Services (SSIS), but it is hard to start working with heterogeneous databases like MySQL, Postgres, DB2, etc. Check out this tip to learn about how to import data from heterogeneous databases like MySQL to SQL Server.
In this example, the database used to import data from is the Test Database in MySQL which is installed by default. We will import data from MySQL to SQL Server using SQL Server Integration Services.
To follow the steps in this tip it is necessary to have the following software installed:
Let's create a table in MySQL called myTable with a column called myColumn then insert some data in the table:
use MySQL;
create table myTable(myColumn varchar(20));
insert into myTable(myColumn) values("John");
insert into myTable(myColumn) values("Jane");
insert into myTable(myColumn) values("Arnold");
insert into myTable(myColumn) values("Jessica");
Here are the steps to create the SSIS project:















CREATE TABLE "myTable" (
"myColumn" nvarchar(20)
)





| Tuesday, March 20, 2012 - 2:44:27 AM - Nirav Gajjar | Read The Tip |
|
HI Daniel,
Really very nice post. Is this possible to create objects from mysql to sql server like table,views,stored procedure stc.... |
|
| Tuesday, March 20, 2012 - 9:20:50 AM - Daniel Calbimonte | Read The Tip |
|
To migrate objects, it is better to use migration tools like the SSMA: http://www.microsoft.com/sqlserver/en/us/product-info/migration-tool.aspx#MySQL |
|
| Wednesday, March 21, 2012 - 3:10:04 AM - Santosh S.Pawar | Read The Tip |
|
Thanks Daniel Calbimonte this information is very usefull specilly me.. |
|
| Tuesday, July 17, 2012 - 6:31:58 AM - Alejandro Afonso Spinola | Read The Tip |
|
Great information! It has been really helpful. Thank you for sharing! |
|
| Thursday, August 02, 2012 - 3:11:16 AM - Damir Bulic | Read The Tip |
|
That's a lot of steps for converting data. Our Full Convert Enterprise costs $299, but makes it extremely easy to copy tables, indexes, foreign keys, and of course data. Plus it can customize everything on the fly and schedule recurring conversions. Regarding objects migration, we have another tool - SqlTran MySQL to SQL Server. It can convert thousands of objects in just a few seconds. These are commercial tools, but I hope readers of this blog will find my comment useful. |
|
| Saturday, August 11, 2012 - 11:29:44 AM - Dmitry | Read The Tip |
|
As well, check out DBConvert tools from http://dbconvert.com which allows converting structure, tables, views |
|
| Friday, October 19, 2012 - 4:26:42 AM - Hari Priya | Read The Tip |
|
very helpful.. very clearly explained.. |
|
|
privacy | disclaimer | copyright | advertise | about authors | contribute | feedback | giveaways | user groups Some names and products listed are the registered trademarks of their respective owners. Edgewood Solutions LLC | MSSharePointTips.com | MSSQLTips.com |