Business Central 2025 wave 2 (BC27): Create a new sequential unique GUID (Guid.CreateSequentialGuid Method)
Business Central 2025 wave 2 introduces Guid.CreateSequentialGuid method which generates sequential unique GUIDs that perform better as table keys than random GUIDs. This method is useful when you need improved performance for GUID-based indexing.

post Dynamics 365 Lab
"Sequential GUIDs perform better when used as a field in a key, because they are partially sequential instead of fully random."
Key points
- Guid.CreateSequentialGuid creates sequential unique GUIDs instead of random ones
- Sequential GUIDs perform better when used as table keys due to partial sequencing
- The method is available in AL Language extension version 16.0
- Each execution starts from a new GUID rather than continuing the sequence
Quotes
- “Sequential GUIDs perform better when used as a field in a key, because they are partially sequential instead of fully random.” (Explains the key benefit of the new method - improved performance for table key operations compared to random GUIDs)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
- other “Guid.CreateSequentialGuid Method”
- other “Guid.CreateGuid Method”
Heads up
- gotcha: “Note that this is only for a single execution, the second execution will start from a new GUID.” (about version BC27)
Context
- Features: Guid.CreateSequentialGuid, Guid.CreateGuid, sequential GUID generation, improved key performance
- Versions: BC27, 2025 wave 2
Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.