Reset auto increment on a table


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

If you are deleting all the rows in a table and you also want to reset the values that will get used by auto increment, this is how to do it.

URL: http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.