While searching for UUIDs
I stumbled upon ULIDs
https://github.com/ulid/spec
And I want to use them in my SQL Server database as primary key for my users (instead of basic incremental value).
So I wanted to ask:
What datatype is the best suited?
uniqueidentifier
?binary16
? something else? and why?Are there some other extra steps to fully benefit from
ULID
structure? especially sorting/searching? in comparison to otherUUIDs
.