Charles Hawkins

Random Number Generator

Often the RAND() function is predictable based on the seed. This stored procedure generates a pretty good random integer because the seed itself is quite unpredictable. You can’t put this in a UDF since it is indeterminate due to the RAND and GETDATE() functions used.

2006-09-15 (first published: )

576 reads

Blogs

Last Weeks Reading (2019-05-26)

By

It was tremendously extensive week for me (a week ago) when I spent time...

Migrating SSIS to Azure – Slidedeck (Techorama 2019)

By

Techorama 2019 is over and it was a blast, as usual. Neatly organised, great...

Containers: Create a Custom Container

By

Creating a custom container is where things get truly exciting. There’s actually a ton...

Read the latest Blogs

Forums

The Change Failure Rate

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Change Failure Rate

Transforming rows into columns

By rkarr7

Hi Everyone, I have a table with the structure as attached in the Table...

Reduce SQL Filestream limit

By lidds

I want to save images into an sql database, and in my situation the...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers