Quick SQL Question
| From: | Vernon | Date: | Wed, 18 Jun 2003 01:11:22 +0000 |
| Subject: | Quick SQL Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151920@lists.php.net to get a copy of this message | ||
I'm using the "ORDER BY RAND() LIMIT 0,1" to give be a random record from a
recordset but it seems like it puts a real heavy load on the server. Is
there a better way to pull a random record from a database?
Thanks