Hi All,
I require to parse sql query (simple & complex as well) and to get the list of tables used in the query.
And need to validate that, the list of tables against a whitelist to maintained in the file.
I tried to write my own parser, since there are lots possible ways to write complex queries, i am unable to cover all the scenarios.
I require a help, Is there any other ways to get the list of tables used in a query?
Thanks,
Mahendran..