How do you empty the table, with a tool, or with a query? Your tool should have an option to do that, for the query:
ALTER TABLE `table` AUTO_INCREMENT = 1;
pritaeas
Posting Prodigy
9,287 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,458
Skill Endorsements: 86
TRUNCATE persons; will clear out the table and reset the auto_increment primary key to zero.
hericles
Veteran Poster
1,065 posts since Nov 2007
Reputation Points: 156
Solved Threads: 228
Skill Endorsements: 9
Question Answered as of 1 Year Ago by
pritaeas
and
hericles