Tagged: Auto-increment

0

MySQL: Get next auto increment value of a table

Some time ago, I needed to get the auto increment value for the next inserted row in a MySQL table. As the first solution, I was thinking to get maximum of ‘id’ field and...