No, in general. Only parsing.
You can use sqlite3_column_table_name API call in case you have SELECT
statement. But it returns the result of parsing SQL query internally when
prepare.

--
Best regards,
Ilya N. Pokolev    mailto:[email protected]


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of zhangzhenggui
Sent: Tuesday, January 12, 2010 12:23 PM
To: [email protected]
Subject: [sqlite] How can I know which table is operated by one SQL?

Dear friend,
    When I execute a SQL with C/C++ API, I want to know which table is 
operated by this SQL. Is there any way to do this except parse the SQL?

Thanks,
zhangzhenggui

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to