18

I have a large MySQL set of commands in a file (script) and I need to execute it on a Microsoft SQL Server 2008. I know there are few differences in both languages, despite the fact the base SQL is the same.

Is there any way how to convert a MySQL script to one that is executable on SQL Server? Or is there any migration app that can easily take the whole MySQL server and replicate everything on SQL Server 2008?

Thanks for any advice.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
NumberFour
  • 181
  • 1
  • 1
  • 3
  • There are tons of conversion tools (free or commercial) out there, just [google it](http://www.google.com/search?q=mysql+to+mssql+conversion). The following one might be interesting for you as a programmer, it is free and comes with the codes: http://gathadams.com/2008/02/07/convert-mysql-to-ms-sql-server/ – o.k.w Nov 20 '09 at 14:42
  • Previous suggestions to this problem can be found here: http://stackoverflow.com/questions/2621682/import-mysql-database-into-a-ms-sql-server – WernerW Apr 03 '13 at 11:17
  • I have taken the source code from gathadams and improve it let me know if you need it ask me about `DBscriptConverter` – Mauricio Gracia Gutierrez Jul 08 '15 at 07:11

1 Answers1

4

I tried Full Convert Enterprise with quite big success. Fast, easy and it did my job. Give it a try it may help you

ppolyzos
  • 6,791
  • 6
  • 31
  • 40