[求助]网上找了个ASP随机显示的代码,不知道是什么意思?谁解释下?
Randomize upperbound = 20
lowerbound = 1
x = Int((upperbound - lowerbound + 1) * Rnd + lowerbound)
dim Orderby
Orderby = "id"
for i = 0 to x
Orderby = "Rnd("& Orderby &")"
next
'str = str & Orderby & vbnewline
sql = "SELECT top 10 id FROM a ORDER BY "&Orderby