萬盛學電腦網

 萬盛學電腦網 >> 網絡編程 >> asp編程 >> asp 隨機讀取N條記錄sql語句

asp 隨機讀取N條記錄sql語句

<%
randomize
sql="select top 10 name,time,id,url,filename from art_body where ischeck=1 order by rnd(-(id+"&rnd()&")),time desc"
......
%>

copyright © 萬盛學電腦網 all rights reserved