Easy mysql question regarding primary keys and an insert

Posted by MPX on Stack Overflow See other posts from Stack Overflow or by MPX
Published on 2008-10-03T00:07:26Z Indexed on 2010/05/20 18:00 UTC
Read the original article Hit count: 155

Filed under:
|
|

In mysql, how do I get the primary key used for an insert operation, when it is autoincrementing.

Basically, i want the new autoincremented value to be returned when the statement completes.

Thanks!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about insert