随机取出数据库中的若干条记录的方法

来源:岁月联盟 编辑:zhuzhu 时间:2003-07-11
SELECT TOP n * FROM table_name ORDER BY NEWID()

top n,n就是要取出的记录数