Community

Seeding SQL RAND() Method With NEWID() For Per-Row Random Values (Thanks Joshua Cyr)

(Ben Nadel) From what I have read and from what I’ve seen demos of, I thought that MS SQL’s RAND() method could only return one random value per connection. As I never looked at the documentation for RAND(), I never realized that it could be seeded. This morning, in my post on selecting random recor

Read More - Register for Free Membership