Execute already written Mysql query on the oracl [message #407188] |
Tue, 09 June 2009 00:10 |
iram_fa@hotmail.com
Messages: 1 Registered: June 2009
|
Junior Member |
|
|
Hi
I have successfully converted my MySql database in oracle. Now the problem is how to execute application based already written hundreds of Mysql query on the oracle. There are many syntax variation in Mysql query format which is not acceptable for oracle.
For Example
Select case_id as 'this is alias' from cases
The above query can run on Mysql database but have problem while executing Oracle, because single quotes should be replaced with double quotes before executing it on oracle. There are also many other syntax conflicts.
I have tried to resolve the problem through SwisSQLAPI but problem still exist as SwisSQLAPI is not dealing with all syntax conflict. In my case (select if (expresion, true,false)) must be replace with decode (expression, value,true,false) function of oracle and this conversion is not supported by SwisSQLAPI.
Please help me in resolving this problem
Thanks
|
|
|
|