日期:2014-05-17 浏览次数:20897 次
Dim rs,sql Randomize Set rs=Server.CreateObject("Adodb.RecordSet") sql = "select TOP 10 * from xxxx ORDER BY RND(-(ID+"&rnd()&"))" ...
------解决方案--------------------
就是利用随机数
------解决方案--------------------
http://blog.csdn.net/tangbow/article/details/7784718
------解决方案--------------------
SELECT TOP 10 * FROM tableA ORDER BY NEWID()