Get Next Autoincrement Number - Version:r143059

Version: r143059. This is a SQL snippet, talking about autoincrement and information_schema

Get Next Autoincrement Number

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

Get next autoincrement id.

Created by ThePeppersStudio (185 days, 0.30 hours ago)

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