How would you proceed to get literals and join conditions from SQLs?
By running the program, and letting your database (or DBI) log the queries for you.
With your approach you won't find SQL that has interpolated variables, or that is dynamically created (think DBIx::Class).
In reply to Re: SQL Parsing with Parse::RecDescent
by moritz
in thread SQL Parsing with Parse::RecDescent
by DACONTI
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |