On Mon, Aug 22, 2011 at 6:42 PM, Black, Michael (IS) <michael.bla...@ngc.com
> wrote:

> You'll always get the "last" record that was successfully inserted.
>

Just to play devil's advocate for a moment...

As i recall, someone posted a report on this list a few months ago to report
that the "last" insert ID (sqlite3_last_insert_rowid()) in his case was the
ID of an insert (in a different table) caused as a side-effect of an
on-insert trigger in the original target table.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to