in reply to Re: SQL solution or Perl solution?
in thread SQL solution or Perl solution?
will tell MySQL to randomize the record order. I assume most other database engines have a similar capability, although I wouldn't necessarily expect the syntax to be the same.select * from my_table order by rand();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: SQL solution or Perl solution?
by KurtSchwind (Chaplain) on Nov 06, 2007 at 21:18 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |