Random record in Access & ASP
[ 2005-06-27 00:03:05 | Author: liuhuan ]
<%
Randomize
sql="SELECT TOP 10 [content] FROM [Table] ORDER BY rnd(-(id+" & rnd() & "))")
%>
Randomize
sql="SELECT TOP 10 [content] FROM [Table] ORDER BY rnd(-(id+" & rnd() & "))")
%>
Comments Feed: http://www.liuhuan.com/blog/feed.asp?q=comment&id=189
There is no comment on this article.
You can't post comment on this article.