1.

How Do You Find Out Which Auto Increment Was Assigned On The Last Insert?

Answer»

SELECT LAST_INSERT_ID() will RETURN the last value ASSIGNED by the auto_increment function. NOTE that you don’t have to SPECIFY the table NAME.

SELECT LAST_INSERT_ID() will return the last value assigned by the auto_increment function. Note that you don’t have to specify the table name.



Discussion

No Comment Found