Click here to Skip to main content
15,904,823 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,
I am working with SL4. Actually my problem is a bit different.
I am parsing SQL queries and filtering on the basis of WHERE, ORDER BY and AND operators. Things work fine only if there is a string filter and IN operator and if string contains WHERE, ORDER BY or AND word
is there any better way to parse queries?

Regards.
Posted
Updated 25-Jul-10 23:17pm
v2

1 solution

maybe if you create your SQL parser by using http://www.antlr.org/ can be better, or use an exists grammars ^_^ http://www.antlr.org/grammar/1279318813752/PLSQL.g
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900