generate numbers

External Article

Generating Random Numbers in SQL Server Without Collisions

  • Article

From time to time, I see a requirement to generate random identifiers for things like users or orders. People want to use random numbers so that the "next" identifier is not guessable, or to prevent insight into how many new users or orders are being generated in a given time frame, but they don't want to run into any duplicates. We can trade a bit of disk space and relatively predictable (but not optimal) performance for the guarantee of no collisions, no matter how many random numbers we've already used.

2013-09-27

3,852 reads

Blogs

The pros and cons of self-service BI: What every industry leader should know

By

The post The pros and cons of self-service BI: What every industry leader should...

Off to the PASS Data Community Summit 2024

By

As this publishes, I’ll get taxiing down the runway at DIA (fingers crossed) and...

Implement a RAG Solution Using Azure SQL Database

By

AI and ChatGPT are all the rage these days.  Seems like around every corner...

Read the latest Blogs

Forums

South Kerala Tour Packages

By indiaboundtour

South Kerala tour packages offer an immersive experience into the heart of Kerala's natural...

Black Corgi Chihuahua Mix – Unique Look and Personality

By dogshabit

Ever seen a corgi chihuahua mix black, or "Chigi"? This rare color variation makes...

How to change font size in Query window

By MurraySobol

I am running SQL Server 20.2. When I copy a query into the query...

Visit the forum

Question of the Day

Cloud Sources for the Data Migration Assistant

Which cloud sources can be used for the current Data Migration Assistant (Sep 2024)

See possible answers