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: )

578 reads

Blogs

Last Week Reading (2019-07-21)

By

Another week passed. Look what did I find during that time. Press British Airways...

The Data platform has evolved – so too must the DBA.

By

This blog post is around the changing landscape of both SQL Server and the...

What does the Machine Learning process look like?

By

This is the second article in the Machine Learning area. I have explained a...

Read the latest Blogs

Forums

Trying to group 2 rows into a single line

By louislsh

Hi all, i am stuck trying to group 2 lines into 1. Hope someone...

SSMS via Citrix could not query An Microsoft Access Database despite of RDP

By Thinky Night

Hi dears, I will explain the case: I have an MS Access Database on...

Unable to group 2 records into a single line result

By louislsh

Hi all, i am stuck trying to group 2 lines into 1. Hope someone...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers