MLUG: RE: [MLUG - DISCUSSION] random db results?
RE: [MLUG - DISCUSSION] random db results?
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Here is how one group says to do it:
http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=65
Keep in mind, this is done in ASP, but you can get the idea.

> Does anyone know how to ask for random results from a db? 
> Something like:
> 
> 'SELECT id FROM files WHERE view = 0 GROUP BY random LIMIT 25'
> 
> 
> The girl who stoops to conquer usually wears a low-cut dress.
> 
> ;):):-):):-):):-)8')
> Michael McGlothlin <EMAIL:PROTECTED>
> http://kavlon.org/projects/
> 
> --
> To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
> 
> Archives are available at http://mlug.missouri.edu/list-archives/
> 
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/