Charles Hawkins


Technical Article

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.

You rated this post out of 5. Change rating

2006-09-15 (first published: )

621 reads

Blogs

Programmatically Retrieving MLV Lineage and Refresh Times

By

Materialized lake views (MLVs) in Microsoft Fabric are an effective way to implement medallion...

SWAG Saves the Day

By

PASS Summit East is in one week. I was on the road last week...

Upgrading SQL Server Containers on the Laptop

By

I don’t have SQL Server installed on my laptop. In an effort to keep...

Read the latest Blogs

Forums

BCA KCP Bona Indah Telpon/WA:08137887595

By tanehome

BCA KCP Bona Indah Telpon/WA:08137887595.Plaza Bona Indah Jl. Karang Tengah Raya blok B/12, Lb....

BCA KCP Boulevard Timur Tlpn/Wa 0853.7373.7551

By thammyvienula

Jl. Boulevard Timur No.54-55 Blok NC 1, Pegangsaan Dua, Kec. Klp. Gading, Jkt Utara,...

BCA KCP Mal Pondok Indah Telpon/WA:08137887595

By tanehome

BCA KCP Mal Pondok Indah Telpon/WA:08137887595.Ground Floor G31 & G32, Jl. Metro Pondok Indah,...

Visit the forum

Question of the Day

Increase Deadlock Detection

How can I alter the deadlock detection interval to 2 seconds instead of 5 seconds on my SQL Server 2025 instance?

See possible answers