Quantcast
Viewing all articles
Browse latest Browse all 9

randomize in T-SQL

If you're looking to choose random rows from a set, use NEWID() instead as such:

But how about to randomly pick a record *for each group*?


Viewing all articles
Browse latest Browse all 9

Trending Articles