|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
changing SQL syntaxI am using a java component which generates SELECT statements based on different critieria. The SELECT statements generated are using the old SQL syntax. For example it will generate : SELECT e.employee_id, er.location_code FROM employee e, employee_record er WHERE e.employee_id = er.employee_id What I would like is to get this SELECT statement as : SELECT e.employee_id, er.location_code FROM employee e INNER JOIN employee_record er ON (e.employee_id = er.employee_id) Now in Enterprise Manager if i create a new view and type in the old SQL syntax, and see the result, it automatically changes it to new SQL syntax. I would like to call that functionality from my code after I have received the SELECT statement from the java component. Is it possible? Thanks Rizwan |
|||||||||||||||||||||||