MySQL: (Re)set the auto-increment value of a table


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ALTER TABLE some_table AUTO_INCREMENT=10000

URL: http://ariejan.net/2007/11/30/mysql-reset-the-auto-increment-value-of-a-table/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.