https://www.sqlite.org/c3ref/last_insert_rowid.html
On Tue, Mar 31, 2015 at 9:19 PM, Kumar Suraj <surajnitk at gmail.com> wrote: > Hi > > I am using sqlite C interface for inserting data in the table. The primary > key is a 64 bit integer which i need to auto-increment and get populated > automatically as we do not provide that value in insert statement. Is there > a way i can get the autoincremented value for each row inserted when ever i > execute my insert. > > -Suraj > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp drh at sqlite.org