Wednesday, October 7, 2009

Select top two rows from SQL server database table

Below is the query for top two records.

Select top 2 * from tbl_news order by newid()

No comments:

Post a Comment