If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Inport MS SQL Server "sql script" into MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-19-08, 16:44
Zikiti Zikiti is offline
Registered User
 
Join Date: Oct 2008
Posts: 2
Inport MS SQL Server "sql script" into MySQL

Hello all, I have an MS SQL server dump/sql script that i want to use in a new MySQL database. Obviously the syntax isn't the same but is there a way to convert that entire script to iso/mysql syntax? I have over 50 tables and doing this manually is not very inviting....

Help anyone?????
Reply With Quote
  #2 (permalink)  
Old 10-19-08, 21:13
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
you have a script generated from SQL Server? that's actually not all that easy to do

conversion to mysql syntax in a text editor using search/replace is straightforward but might be tedious

i'm not aware of any tools that work on the DDL itself (although that doesn't mean there aren't any)

what did you find by googling "convert ms sql server to mysql"?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 10-20-08, 02:41
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
why not try one of the migration tools.. such as the MySQL Migration toolkit? available from the MySQL site
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On