Get Next Autoincrement Number

This is a SQL snippet, talking about autoincrement and information_schema

Get Next Autoincrement Number Add to Favorite

SELECT Auto_increment as thenext FROM information_schema.tables WHERE table_name='thetablename'

Get next autoincrement id.

Created by ThePeppersStudio (47 days, 14.98 hours ago)

Do you want to leave a message? Please login first.