SQLite Forum

sqlite3_sql return value
Login
You may have noticed a parameter, pzTail, in the sqlite3_prepare() signatures. The prepare operation only operates upon one SQL statement at a time, but if you ask for it (by setting the pzTail pointer to reference a char *), the prepare will let you know where the remainder of your submitted string begins.

What you see is correct. See [the prepare doc](https://sqlite.org/c3ref/prepare.html).