Reputation:
I reset the previous index by accident, and now I need to manually update it so that index = number of rows in table.
What is the sql command for this?
Upvotes: 1
Views: 194
Reputation: 11469
ALTER TABLE tablename AUTO_INCREMENT = 1
Upvotes: 2