From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
rg] On Behalf Of [EMAIL PROTECTED]
Sent: 17 January 2006 17:37
To: [email protected]
Subject: Re: [sqlite] [RBL] [sqlite] Randomly ordering results

"Steve O'Hara" <[EMAIL PROTECTED]> wrote:
> The standard SQLite function random() is actually seeded by
> the current time and date every time you open a database.
> 

FWIW, the random() function in SQLite uses a cryptographic
PRNG and (at least on Unix) is seeded using /dev/urandom 
if that device is available.  So it should give you very
good randomness.
--
D. Richard Hipp <[EMAIL PROTECTED]>

-----Original Message-----

You are of course right, I just looked at the Windows version which is
seeded on date/time.

Steve 


Reply via email to