Generating random values.

From: Fernando Lujan <flujan(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Generating random values.
Date: 2005-08-17 16:48:38
Message-ID: 63183739050817094826f1708f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi folks,

I have a table wich contains my users... I want to insert to each user
a random password, so I need a random function. Is there such function
in Postgres? I just found the RANDOM which generates values between
0.0 and 1.0.

Any help or suggestion will be appreciated. :)

Fernando Lujan

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moseley 2005-08-17 16:54:23 How to "ping" the database
Previous Message Sebastian Hennebrueder 2005-08-17 16:47:33 Technical FAQ collecting of infos from the mailing list