随机从数据库中筛选出1条记录!

在mssql中实现随机查询10条数据

 

MsSql 语句:select top 10 * from 表名 order by newid()

posted @ 2009-07-17 17:31  起源  阅读(202)  评论(0)    收藏  举报