Problem One:
If I have entered 10 records, and deleted 9th, 10th records. The next auto increment value will be 11, not 9.

Solution:
Run a query: ALTER TABLE tablename AUTO_INCREMENT = 1

創作者介紹
創作者 Fay's Journal of Life 的頭像
kkonline

Fay's Journal of Life

kkonline 發表在 痞客邦 留言(0) 人氣( 10 )