Get x number of random records from SQL server. Select TOP X whatever FROM yourtable ORDER BY newid()