81491/how-to-reset-auto-increment-in-mysql
How can I reset the AUTO_INCREMENT of a field? I want it to start counting from 1 again.
Hello @kartik,
You can reset the counter with:
ALTER TABLE tablename AUTO_INCREMENT = 1
Hope it helps!! Thank you!
Hello @kartik, To see the index for a ...READ MORE
Hello @kartik, If empName is a VARCHAR(50) column: ALTER ...READ MORE
Hello @kartik, Try this: ALTER TABLE document MODIFY COLUMN ...READ MORE
Hello @kartik, Try this: DATE_FORMAT(FROM_UNIXTIME(`user.registration`), '%e %b %Y') AS ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello @kartik, Use this query: SELECT User FROM mysql.user; Which ...READ MORE
Hello @kartik, Using this command columns names will ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.