Quantcast
Viewing all articles
Browse latest Browse all 9

randomize in T-SQL

Smetah,

The same way. Use NEWID() and choose the TOP X from each group, using window functions such as ROW_NUMBER.

-Sean


Sean Gallardy | Blog | Twitter


Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>