Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Migrate from MySQL to MS SQL

Author  Topic 

gregoryagu
Yak Posting Veteran

80 Posts

Posted - 2011-04-07 : 11:27:02
Is there a tool to migrate a MySQL database structure to MS SQL Server?

I looked at SSIS and it appears to migrate data, but not the structure.

I don't really need to migrate the data, just the structure. I don't want to have to recreate the database by hand.

Greg

robvolk
Most Valuable Yak

15732 Posts

Posted - 2011-04-07 : 13:16:50
If you can generate the SQL script for the tables (using DESCRIBE or SHOW COLUMNS, etc.) you can modify it to make it suitable for SQL Server (change datatypes, change ` to ", etc.) and then run it in a Management Studio query window.
Go to Top of Page

yosiasz
Master Smack Fu Yak Hacker

1635 Posts

Posted - 2011-04-07 : 17:34:21
it can only migrate the data if it can migrate the structure. migrate it with data to a staging area and it will migrate the structure for you

If you don't have the passion to help people, you have no passion
Go to Top of Page

gregoryagu
Yak Posting Veteran

80 Posts

Posted - 2011-04-07 : 20:52:09
Thanks very much, this is now resolved.
Go to Top of Page
   

- Advertisement -