select top 10 * from yourtable order by NEWID()
select top 10 * from ( SELECT ABS(CAST(NEWID() AS binary(6)) %1000) + 1 randomNumber,* FROM yourTableName)t order by randomNumber
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)