I did use sqlite3_last_insert_rowid() to get the last rowid. But I used sqlite3_expanded_sql to get the actual SQL statement that was processed to find out that sqlite3_bind_int() had inserted a NULL instead of the rowid I was looking for.
> On Apr 12, 2019, at 12:09 PM, Simon Slavin <[email protected]> wrote: > > On 12 Apr 2019, at 4:40pm, Jim Dossey <[email protected]> wrote: > >> Which is obtained by calling sqlite3_expanded_sql(). > > Was that a copy-paste error or do you actually want > > <https://sqlite.org/c3ref/last_insert_rowid.html> > _______________________________________________ > sqlite-users mailing list > [email protected] > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

