hi guys,
I have a database table that has a field called ID and the field is autoincrement.
Suppose it has 5 records whose IDs are from 1 to 5 respectively
Now I insert a record manually with ID 10
Next time when inserting a new record, it will automatically insert the number 11
I want to continue from number 6 for new recods. Is there a solution??
sorry for my bad english!
-------------------------
database :
tbl1 >> id,name
records :
1,"any name"
2,"any name"
3,"any name"
4,"any name"
5,"any name"
10,"any name"
------------------------
I have a database table that has a field called ID and the field is autoincrement.
Suppose it has 5 records whose IDs are from 1 to 5 respectively
Now I insert a record manually with ID 10
Next time when inserting a new record, it will automatically insert the number 11
I want to continue from number 6 for new recods. Is there a solution??
sorry for my bad english!
-------------------------
database :
tbl1 >> id,name
records :
1,"any name"
2,"any name"
3,"any name"
4,"any name"
5,"any name"
10,"any name"
------------------------