* UNIX Random Number Generator
@ 2000-08-02 23:32 Rebecca Olsen
0 siblings, 0 replies; only message in thread
From: Rebecca Olsen @ 2000-08-02 23:32 UTC (permalink / raw)
To: tru64-unix-managers
Our DBAs are in need of a UNIX "random number generator", as requested
below. We would appreciate some input.
Thanks!
---------------------------------------------------------------
"We would be creating a file of n lines and want to randomly select 20 lines
from the original file into another file. The original information comes
from a database, but we don't know of a database solution. Therefore, the
idea is to write the information to a Unix file, then try to find a Unix
solution to the problem. "
"Use a Unix random number generator to generate 20 random numbers
Select from table where row_number in (ran1, ran2,... ran20)
I assume Unix has a random number function?"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-08-02 23:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-02 23:32 UNIX Random Number Generator Rebecca Olsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox