MySQL: Get next auto increment value
by leo on May 30, 2007
Recently, I needed to get the auto increment value for the next inserted row in a MySQL table. Generally, this is not a good idea and you should stop reading right now. You may end up with duplicate entries in (…)






