That should return a single row as an array reference, chosen at random from all possible rows that meet your WHERE criteria.my $row = $dbh->selectrow_arrayref(" SELECT ... FROM ... WHERE ... ORDER BY RANDOM LIMIT 1");
In reply to Re^2: Username regex, MYSQL random
by tadman
in thread Username regex, MYSQL random
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |