a more relible solution to LAST_INSERT_ID
89949
Easy mysql question regarding primary keys and an insert
22376
Prevent reset of auto_increment id in Innodb database after server restart
135259
How do you copy a record in a SQL table but swap out the unique id of the new row?
34957
Idiomatic way to implement UPSERT in PostgreSQL
29367
T-SQL stored procedure that accepts multiple Id values
3828
How to insert a very large number of records into a MySql database as fast as possible
113435
Dropping Unique constraint from MySQL table
117470
lastInsertId does not work in Postgresql
42133
How to get the insert ID in JDBC?
110522
Insert, on duplicate update in PostgreSQL?
94859
How do I add a "last updated" column in a SQL Server 2008 R2 table?
11569
INSERT takes over 5 hours, when inserting more than specific number of rows
95428
MySQL - Autoincrement does not increment sequentally if last row was deleted
89072
Improve INSERT-per-second performance of SQLite
47928
CodeIgniter activerecord, retrieve last insert id?
37395
Get the last inserted row ID (with SQL statement)
7064
Retrieving the last record in each group - MySQL