HakonHoy
11-07-2005, 04:35 PM
Is there a simple code I can use in order to get a random record from a access database in ASP ? please help me out :)
![]() | View Full Version : get random record from database in asp HakonHoy 11-07-2005, 04:35 PM Is there a simple code I can use in order to get a random record from a access database in ASP ? please help me out :) Burhan 11-07-2005, 08:20 PM I don't work in ASP or Access, but this website (http://www.adopenstatic.com/faq/randomrecord.asp) has an example doing exactly what you want. Next time, please learn how to use a search engine (http://www.google.com/help/basics.html) -- it took me 2 minutes to find this website. programmingpros 11-20-2005, 06:01 PM Just for your information... 1 random record... with MySQL... SELECT * FROM t1 ORDER BY rand() LIMIT 1 |