How can I automatically convert MySQL DDL to Oracle DDL? [closed] - mysql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
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?

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.

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.

Related

Is there any separate language to query SQL Server and Oracle [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I need to know whether there exists any technology to query both SQL Server and Oracle from single application and single query language.
From my limited understanding, and I could be misunderstanding your question, the technology you would use to query both MS SQL Server and Oracle would be:
SQL
...but with different connection strings:
https://www.connectionstrings.com/oracle/
https://connectionstrings.com/sql-server/
T-SQL is the procedural language for SQL Server and Sybase; PL-SQL is Oracle's procedural language.
The two databases have relational theory and SQL in common, but they're very different.
Trying to unify two relational database products into one is a fool's errand.
If i got you correctly you want to develop an application that you can switch databases successfully without much effort. If you are developing using Java you can use Hibernate JPA. It makes it very easy to switch your Application from one database to another with minimal changes and without writing a single sql query. I hope this is what you were looking for.
Hibernate(NHibernate for dotnet) or equivalent is the only choice.

SQL exercises/queries with sample database [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for some sample SQL exercises/query (preferred MySQL, or SQLServer)to practice. It would be great if it is with some sample database.
Could someone please point to sql exercises for Sakila Database( MySQL Sample Database) or exercises with some other sample database.
I have already came across
http://courses.cs.tau.ac.il/0368-3458/databases201213a/assignments/hw1.pdf
and looking for more.
Thanks in advance,
Sambhav
There is a lot out there! Here are a few nice ones that offer (online) practice:
SQLZOO - lets you practice interactively with SQL queries for different database management systems;
SQLCourse.com - also an interactive tutorial that lets you
practice SQL queries;
Introduction to Databases - a Stanford online course with a lot
of explanatory video lectures. It is much more theoretical, but also
provides the possibility to practice with the stuff that's taught. (This course seems now to have been chopped up into 5 different smaller courses.);
GalaXQL - another interactive SQL tutorial using SQLite;
SQL-EX - seems to provide SQL exercises, but requires an
account.
Some sample databases can be downloaded here:
SQL Server 2008/2012/2014 -> AdventureWorks sample databases;

Convert multiple mysql scripts to sql server [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
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.
I tried Full Convert Enterprise with quite big success. Fast, easy and it did my job. Give it a try it may help you

Recommended tool to convert PostgreSQL database to MySQL [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have a postgresql dump file and wants to convert it to MySQL. I google it and found pg2mysql which it converted successfully. However, I get errors when importing it to mysql. Looks like the formats are not compatible or wrong.
Any one can recommend?
Thanks.
James
The best solution for a migration would be a conversion tool like ESF data migration toolkit or openDBcopy that is open source.
According to your pastebin, the problem is with bigserial, as this is not a MySQL datatype. Some Googling came across this site which describes what bigserial is in Postgres context and other RDBMS datatype equivalents.
Looks like there are 3rd party libraries which will convert the data from Postgres to whichever RDMBS you choose, an example is easyfrom.net, if this doesn't fit your needs, just google around, as you are not the first person to need this functionality.

Convert MySQL script to SQL Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
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.
I tried Full Convert Enterprise with quite big success. Fast, easy and it did my job. Give it a try it may help you