News for hackers. Stuff that matters.

lantern_oil

Hello and great site! Just a note that the "business" isn't spelt correctly. I'm enjoying it ATM. Tks.
Re:Understanding UUIDs, ULIDs and string representations on Wednesday January 05, 2022 @09:41AM (#29809504)
I haven't used SQL Server directly in a while, but IIRC, we can use the identity() function, which does 2 things: 1. tells the system to start counting at a certain number, and 2. tells it to increment the next number by a certain multiple (i.e. x2)

I do agree that serially incrementing numbers may sometime be relegated to the history books, although this is such a baked in function that, lacking any other prebuilt functions, old-time SQL developers simply reach for it.