Friday, July 31, 2009

How to Randomly select the records in SQL Server?

select top 5 * from question_settings where class ='1' order by newid();

No comments:

 
Feedback Form