|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
select random row
how can you do that? is it possible? without knowing any of the column names, just returning a random row.
I think this has been mentioned before, but I couldn't remember the answer, so I did a search but I couldn't find it... |
|
#2
|
|||
|
|||
|
RE: select random row
SELECT * FROM table ORDER BY RAND() LIMIT 1
I can't really take the credit though -http://codewalkers.com/archives/sqlhelp/70.html |
|
#3
|
|||
|
|||
|
RE: select random row
hmm... but that one has 'issues'... I think I can use it though, thanks.
I hope they make a good random generator soon... |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > select random row |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|