how can i reset primary key auto increment after deleting a row in a table
If you are using auto increment, there is no way to reset it. It will keep increasing.
Hi, I don't know the type of your primary key, but if your primary key is using No.Series, you can update Last No. Used in No. Series.
Hope this will help.
Thanks.
ZHU
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sumit Singh 2,856
Sohail Ahmed 2,681 Super User 2025 Season 2
YUN ZHU 2,342 Super User 2025 Season 2