How can I request a random row (or as close to truly random as is possible) in pure SQL?
ORDER BY NEWID()
takes 7.4 milliseconds
7.4 milliseconds
WHERE num_value >= RAND() * (SELECT MAX(num_value) FROM table)
takes 0.0065 milliseconds!
0.0065 milliseconds
I will definitely go with latter method.