If my ids are automatically assigned by an autoincrement in the database is there a way to reset this?
to say the database autoincrement to go back to 0 or a specific value??
my db looks like this:
id name
id= autoincrement, name = string
I want to insert values to the database just with the name, without the id, the id I want to be assigned automatically. the problem is that if I erase a lot of names and add new ones I might have only 3 names and their ids are (151, 152...!) so that why I need a way to reset the ids. or to say: ok, autoincrement go bacvk to 5!
thanks