From: Rebecca Olsen <REBOLS () HBSI ! COM>
To: tru64-unix-managers
Subject: UNIX Random Number Generator
Date: Wed, 02 Aug 2000 23:32:52 +0000 [thread overview]
Message-ID: <96525915806483.tru64-unix-managers.marc@archive.invalid> (raw)
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?"
reply other threads:[~2000-08-02 23:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox