今天同事介绍给我一个巧妙的在sql里面取得随机记录的方法:

select top 1 * from pub_person order by newid()


 

posted on 2005-01-13 16:35  烂瓶子  阅读(737)  评论(1编辑  收藏  举报