Re: [sqlite] Extraction SQL query from a sqlite3_stmt

2009-02-05 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 aditya siram wrote: > Once a sqlite3_stmt has been prepared and variables bound, is there some way > of extracting the SQL query? http://www.sqlite.org/c3ref/sql.html > So something in the way I am > binding the variables is returns zero rows. I

[sqlite] Extraction SQL query from a sqlite3_stmt

2009-02-04 Thread aditya siram
Hi all, Once a sqlite3_stmt has been prepared and variables bound, is there some way of extracting the SQL query? I have a query that runs fine on command line and if I prepare and run it without variables. So something in the way I am binding the variables is returns zero rows. I would like to