View Full Version : how to make a unique key 1 again?
shedokan
11-25-2007, 12:58 AM
I want to makea unique number 1 again.
how?
Fumigator
11-25-2007, 10:26 AM
Are you talking about an auto-increment column? And you want to reset it to 1?
http://dev.mysql.com/doc/refman/4.1/en/example-auto-increment.html
shedokan
11-25-2007, 12:31 PM
yes exactly.
shedokan
11-25-2007, 06:40 PM
never mnd I found a solution:
ALTER TABLE yourtablehere AUTO_INCREMENT=1
Fumigator
11-25-2007, 10:13 PM
Yeah that command was in the link I provided.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.