This is a discussion on "[SOLVED] MySQL to MSSQL" within the Databases section. This forum, and the thread "[SOLVED] MySQL to MSSQL are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] MySQL to MSSQL
|
||
| Notices |
![]() |
|
|
LinkBack (3) | Thread Tools |
#1
|
||||
|
||||
|
[SOLVED] MySQL to MSSQL
Anyone know of a "FREE" tool that can migrate a MySQL database to MSSQL
Thank! |
|
|
|
#2
|
||||
|
||||
|
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
||||
|
||||
|
Looks like it. I will test it and let you know. Thaks for the great find!
|
|
#4
|
|||
|
|||
|
<blockquote id="quote"><font size="1" face="geneva, verdana, arial" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by Stephen
Anyone know of a "FREE" tool that can migrate a MySQL database to MSSQL Thank! <hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote"> DTS is built into MS SQL ... aim it at the MySQL db? Or - MySQL does a nice db dump of both schema and db contents into one script file which, with minor mods, could be run in Query Analyzer to create a db. It does not include the 'create database ..' command itself, so you can either add it or create the db first and make sure that's the active db before running the script. Will create and populate tables. Might have to do some mods, as I said, on the create table statement (references ISAM) and perhaps some of the datatypes, but global s&r will make short work of that. Or ... how did Rob's suggestion work? |
|
#5
|
||||
|
||||
|
The data dump I got from MySQL was not importable into SQL. DTS does work as well, but it is a pain, and it didn't take it all. Still haven't found a completely free one.
|
|
#6
|
|||
|
|||
|
Did you install myODBC driver?
Using the "import/export wizard" which is DTS, I found it way too easy, and not a pain in the least. 1) install myODBC driver 2) specify a System DSN aiming at the mySQL database you want to import into MS SQL 3) Run the "Import/Export" wizard. In seconds, a new MS SQL database is created, with all data transformed and present. myODBC driver can be downloaded from http://www.mysql.com/ more info available at: http://www.microsoft.com/technet/tre...vg/miglamp.asp hth, Mike |
|
#7
|
||||
|
||||
|
Thanks for the info. I will give that a try!
|
|
#8
|
|||
|
|||
|
Hi pmichael,
I've just tried your suggestion, but how come all the primary key from mysql database gone? Any other suggestion? Cheers, Hendry J |
![]() |
| Tags |
| mysql, mssql |
| Thread Tools | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://webforumz.com/databases/1539-solved-mysql-to-mssql.htm
|
||||
| Posted By | For | Type | Date | |
| phpBB.nl :: Bekijk onderwerp - MySQL --> MS SQL | This thread | Refback | Apr 25th, 2007 10:33 | |
| phpBB.nl :: Bekijk onderwerp - MySQL --> MS SQL | This thread | Refback | Apr 12th, 2007 07:38 | |
| phpBB.nl :: Bekijk onderwerp - MySQL --> MS SQL | This thread | Refback | Apr 7th, 2007 18:40 | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] XML > MySQL? | alexgeek | PHP Forum | 13 | Jan 5th, 2008 10:45 |
| [SOLVED] RecordCount in ASP-MySQL | Monie | Databases | 1 | Nov 1st, 2007 06:59 |
| [SOLVED] mysql question | longstand | Databases | 5 | Oct 23rd, 2007 04:11 |
| [SOLVED] Connecting/Using MySQL and ASP | Monie | Classic ASP | 8 | Oct 12th, 2007 09:00 |