Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Randomizing ...
How can I select a number of random rows from a table? Say I wanted to select 500 random IDs from a table, how would I do that? I was trying to find a random number generator function in SQL or PL/SQL, but didn't see one so far. I guess I could use mod. Are there any other ways?
Oracle 8.0.5
Thank you!
Sergey
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Tue Nov 14 2000 - 11:25:16 CST
![]() |
![]() |