Use SQL RANDOM() instead of RAND() for db type, except mysql

see http://board.s9y.org/viewtopic.php?f=3&t=19184