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 :
Customer experience | Sales, Customer Insights,...
Answered

How many sequences are available for auto-generating?

(0) ShareShare
ReportReport
Posted on by

Assumedly auto-generated numbers that have sequential numbering are employing a database sequence.  Generally the database engine limits the number of those available.  How many auto-generated fields with sequences can an org have?

TIA

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: How many sequences are available for auto-generating?

    Apparently there are plenty on the server but, in the cloud there is the question of sharing --

    https://jonshaulis.com/index.php/2018/06/27/how-many-sequences-can-i-have-in-sql-server/

  • Fubar Profile Picture
    2,756 on at
    RE: How many sequences are available for auto-generating?

    I haven't seen anything discussing limits on number of the autonumber fields you can have in your organisation, but I would start with what is it that you need to do that requires a lot of them?

    Note, there is a limit on the number of custom entities that you can create in CRM and this would impart a practical limit

  • Community Member Profile Picture
    on at
    RE: How many sequences are available for auto-generating?

    Good question.  Following the pattern used by msdyn_salesordernumber, I want to use them as identifiers for the Dual Write integration keys on custom entities.  Shouldn't be more than a couple of handfuls per org.

  • Verified answer
    Fubar Profile Picture
    2,756 on at
    RE: How many sequences are available for auto-generating?

    So basically you need 1 auto number field per Entity - which is probably not going to be an issue.

    It is managed by SQL Server as per the brief mention in docs.microsoft.com/.../create-auto-number-attributes

  • Tsuyoshi Suzuki Profile Picture
    on at
    RE: How many sequences are available for auto-generating?

    .

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 130

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 118 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 57

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans