数据库随机取出N条数据

 

select top 10 * from News order by newid()

--随机数:select newid()
posted @ 2008-12-20 23:28  王建国  阅读(215)  评论(0编辑  收藏  举报