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:i.poko...@compassplus.ru


-----Original Message-----
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of zhangzhenggui
Sent: Tuesday, January 12, 2010 12:23 PM
To: sqlite-users@sqlite.org
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
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

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

Reply via email to