On 21 Sep 2012, at 3:22pm, Marco Bambini <ma...@sqlabs.net> wrote:

> Can I parse the output of the EXPLAIN my_query statement in order to have an 
> indirect access to columns involved in the WHERE clause?

Is it good enough just to list the columns ?  After all the WHERE clause can 
include any expression, and can be very complicated.  Suppose your WHERE clause 
was

SELECT col1 FROM myTable WHERE (col5 * col3) >= col4 AND col2 IN 
(20,'twenty',col6)

It would seem simpler just to parse the SQL expression yourself.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to