Showing posts with label migrate. Show all posts
Showing posts with label migrate. Show all posts

Wednesday, March 7, 2012

DDL file to convert from mySQL to SQLServerXXX

We want to migrate a mySQL database to sql server 2000 or sql Server 2005. I have been given a DDL file to perform the conversion, but I don't know what to do with the file? Can anyone help me out? From what I can conclude, the DDL files is a script. So how do I run this script? Where do I place the file, before I run it?

Please help !

IF its a small file (with few tables/storedprocs/views..etc) I would go through the script to check for syntax errors. You could even to a "syntax check" from the query analyzer of SQL Server. Get the script fixed if there are any issues. Then create a database on SQL Server and compile the scripts against the DB.I believe there are SQL Server upgrade/migrate advisors. you can always google and check out any tips.|||

Try this blog and if it work let me know

http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx