get id of the record inserted in database with one query
135811
LINQ to SQL transaction and read ID of inserted record
135259
How do you copy a record in a SQL table but swap out the unique id of the new row?
52455
Insert an input variable in a query in PostgreSQL
143982
How to extract the last inserted row in SQL Server?
41701
Return value from SQL Server Insert command using c#
145311
Generate an increment ID that is unique for a given value of a foreign key
2353
How can I get the SQL of a PreparedStatement?
93935
SObject row was retrieved via SOQL without querying the requested field:
100697
MySQL - Get row number on select
9385
How do you do multiple SQL statements in one mysql_query?
13300
How to find an identity of the last inserted row in Entity Framework?
91934
How to insert multiple records and get the identity value?
153452
Get object by id()?
89949
Easy mysql question regarding primary keys and an insert
30674
get record with at least one associated object
1017
Is MySql's LAST_INSERT_ID() function guaranteed to be correct?
69797
How do I get the last inserted ID of a MySQL table in PHP?