Anyway, I reset AUTO_INCREMENT to my desire value after adding indexes to the table and that seems to work. Just remember to not add anymore indexes to the table after you set the AUTO_INCREMENT value or else it will be reset again.
Here is how to set the value manually.
execute "ALTER TABLE table1 AUTO_INCREMENT = 100"
No comments:
Post a Comment