web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

how can i reset primary key auto increment after deleting a row in a table

(0) ShareShare
ReportReport
Posted on by 52

how can i reset primary key auto increment after deleting a row in a table

I have the same question (0)
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,064 Super User 2025 Season 2 on at
    RE: 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.

  • Suggested answer
    YUN ZHU Profile Picture
    90,548 Super User 2025 Season 2 on at
    RE: how can i reset primary key auto increment after deleting a row in a table

    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.

    pastedimage1639956206972v1.png

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,856

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,681 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 2,342 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans