I am using the 'C' API and would like to be able to be able to get
information on columns involved in a SELECT statement without executing the
statement. I am also using placeholders.

An example of what I would like to get info on (but not execute) is:

        SELECT col1 from table1 where col2 = ?

Currently I am parsing the statement myself to get the field list and then
getting info on the fields (pretty horrible and dangerous), and replacing
the '?' at execution time.

Any ideas appreciated.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to