I want the randmonness in the result set. I am able to get it through newid() function but its expensive.The RAND() function doesn't achieve the randomness I want and it seems to be executed once per query not once per row.
Whats best alternative to achieve randmonness in the result set?.
SELECT ID FROM dbo.Test order by newid() ;
SELECT ID FROM dbo.Test order by CHECKSUM(newid()) ; SELECT ID FROM dbo.Test order by rand() ;
I90Runner