When i insert a record into a table, the auto_increment field ‘s value maybe 1000, I know there is a auto_increment counter, deciding the value.
I use the command:
SHOW VARIABLES LIKE 'auto_incre%'
it outputs:
auto_increment_increment 1
auto_increment_offset 1
so I just want to know, if there is a way i can use to check the auto_increment counter value. Thanks for any help.
Gives you the column as Auto_increment. This is the next value (often id) which will be added on INSERT.
Example: