tags:

views:

32

answers:

1

Hi. Is there a way to transparently translate MySQL queries to oracle back-end? I have an application written to use MySQL but I want data to be stored in oracle. Is there a way to avoid code modification and use Oracle as back-end database?

A: 

If you don't have heavy MySQLed stored procedures or something like that that will tun only on MySQL, there is no problem in running SQL queries on Oracle.

Tomasz Kowalczyk
OK. vBulletin as I know doesn't use any stored procedures. Are you sure that rewriting DB connection code will allow to use oracle as-is?
Dmytro Leonenko
All DB engines conform to some SQL rules, and simple SELECTs, UPDATEs, DELETEs always will run on both.
Tomasz Kowalczyk
Oracle doesn't recognize some MySQL specific syntax (such as the LIMIT clause) and treats empty strings as nulls.
Gary