Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Retrieving Statement SQL

const char *sqlite3_sql(sqlite3_stmt *pStmt);

This interface can be used to retrieve a saved copy of the original SQL text used to create a prepared statement if that statement was compiled using either sqlite3_prepare_v2() or sqlite3_prepare16_v2().

Requirements: H13101 H13102 H13103

See also lists of Objects, Constants, and Functions.


This page last modified 2009/07/31 12:35:28 UTC