What conditions are necessary for lastInsertId to work
117470
lastInsertId does not work in Postgresql
41922
MySQL SELECT LAST_INSERT_ID() for compound key. Is it possible?
147658
How to auto populate with conditions?
77455
Only inserting a row if it's not already there
93236
Migrated questions don't show a "last activity" status in the questions list
108153
Preparing a MySQL INSERT/UPDATE statement with DEFAULT values
71370
In Postgres txid_current() should return biginteger but instead an integer is returned
27642
Insert if not exists, else return id in postgresql
28408
What's the best way to get the last inserted id using sqlite from Java?
152204
Is INSERT RETURNING guaranteed to return things in the "right" order?
75593
Lazy loading properties after an insert
82642
Execution of AfterInsert caused by: System.StringException: Invalid id: () - where have I gone wrong?
134950
Upserting in MS-access
54961
CanInsertFeedSystemFields?
14137
Why isn't my SQL query to insert a table row working properly?
11569
INSERT takes over 5 hours, when inserting more than specific number of rows
40859
Cannot insert explicit value for identity column in table 'table' when IDENTITY_INSERT is set to OFF