MySQL to SQL Server transferring data

andrewWinn picture andrewWinn · Dec 2, 2009 · Viewed 14.7k times · Source

I need to convert data that already exists in a MySQL database, to a SQL Server database.

The caveat here is that the old database was poorly designed, but the new one is in a proper 3N form. Does any one have any tips on how to go about doing this? I have SSMS 2005.

  1. Can I use this to connect to the MySQL DB and create a DTS? Or do I need to use SSIS?
  2. Do I need to script out the MySQL DB and alter every statement to "insert" into the SQL Server DB?

Has anyone gone through this before? Please HELP!!!

Answer

3Dave picture 3Dave · Dec 2, 2009

See this link. The idea is to add your MySQL database as a linked server in SQL Server via the MySQL ODBC driver. Then you can perform any operations you like on the MySQL database via SSMS, including copying data into SQL Server.

Congrats on moving up in the RDBMS world!