在数据库中,有时候可能需要随机提取数据.当然简单的使用Newid排序即可,但有时候需要使用随机的时候,需要提取特定数据的值,也就是作弊的随机提取数据.方式如下: select * from table_name order by newid()