Richard Reina How to get auto Increment ID of INSERT?
Oct 08, 2015; 08:48
Richard Reina
How to get auto Increment ID of INSERT?
If I insert a record into a table with an auto increment ID how can I get that records ID value? I have read about SELECT LAST_INSERT_ID() statement, however, do not two statements introduce the risk that another insert may occur in the interum? Is there a full proof way of getting the ID of the record that you have just inserted?
Thanks
Oct 08
Carsten Pedersen Re: How to get auto Increment ID of INSERT?
Oct 08, 2015; 16:13
Carsten Pedersen
Re: How to get auto Increment ID of INSERT?
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!