0

Is the syntax of Oracle10g and mysql are the same? For example the select query? Thanks, I'm using MySQL and want to try Oracle 10g for my java.

Vérace
31k9 gold badges73 silver badges86 bronze badges
asked Apr 14, 2016 at 7:29
3
  • There are way too many differences. But don't use Oracle 10g, it's out of support since a few years, go for 12c (or maybe 11gR2) Commented Apr 14, 2016 at 8:07
  • From your link "However MySQL silently ignores the CHECK constraint" is enough. No CTEs or windowing (analytic) functions.... I could go on. MySQL is a lucky toy. PostgreSQL is a real industrial standard RDBMS. You are correct though - it's up to DBA/devs to choose. Commented Apr 14, 2016 at 8:28
  • Maybe 70% of the lines of SQL will be 'compatible'. Expecting portability of SQL is folly. Commented Apr 14, 2016 at 17:23

1 Answer 1

1

They're vastly different when it comes to other features, such as security, programming languages, data types, tools, end user support, requirements, etc.

However, they're both compliant with basic SQL92 (and perhaps other SQL standards), so one can do the same basic schema creation and data querying and manipulation. You should be able to do the basics from java applications without noticing where you're connected to (and this applies to several other databases).

answered Apr 14, 2016 at 7:37
1
  • In limiting yourself to the standard, you must forgo various extensions, some of which are significant performance improvements. Commented Apr 14, 2016 at 17:24

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.