
September 25th, 2003, 01:06 PM
|
|
Registered User
|
|
Join Date: Jul 2003
Location: Delhi , INDIA
Posts: 23
Time spent in forums: 23 m 33 sec
Reputation Power: 0
|
|
|
resetting an autoincrement field
Does anybody have an idea of how to reset an autoincrement field in a mysql table. I mean suppose i have 20 records..So that new records get 21 as autoincrement value.Now I delete first 10 records.Is there any way that the remaining records adjust so that new records go at 11 instead of 21.
|