问题
I know my question sounds a little bit like a shopping request, but I honestly believe that many people could find it useful.
I've been looking for an automatic tool that converts Data Definition Language from MySQL dialect to Oracle dialect - the other way round would also be fine. I found “SQL Fairy” but I was unable to run it; probably because I'm not familiar with PERL.
Is there any free tool for Windows that converts MySQL DDL to Oracle DDL?
回答1:
This site really worked for me and it can convert a bunch of different DDL commands from Oracle, MySql, M$ Sql Server, Sybase and others. http://www.sqlines.com/online.
Please note the disclaimer below the tool:
Note. SQLines Online is a unrestricted version for EVALUATION USE ONLY. For use in projects, please obtain a license.
回答2:
Oracle has web pages filled with information on this: Database Migration Technology which gives detailed instrctions and help for several different databases including MySql.
The main tool referenced: Oracle SQL Developer is free.
来源:https://stackoverflow.com/questions/14829227/how-can-i-automatically-convert-mysql-ddl-to-oracle-ddl