2010年1月21日 星期四

Changing next autoindex

MySQL Table 設定 auto_increment 自動產生ID

如果next autoindex number 不合你意的話 ,可以用下列SQL語法更改

ALTER TABLE `table_name` AUTO_INCREMENT =new_number_here


new_number_here 從頭開始是設 1 就好了,設0沒有用

沒有留言:

張貼留言