Skip site navigation (1) Skip section navigation (2)

Re: ----??? Random ???

From: Joel Burton <jburton(at)scw(dot)org>
To: macky <macky(at)edsamail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: ----??? Random ???
Date: 2001-07-31 14:45:18
Message-ID: Pine.LNX.4.21.0107311044460.30379-100000@olympus.scw.org (view raw or flat)
Thread:
Lists: pgsql-novice
On Tue, 31 Jul 2001, macky wrote:

> i want to populate a column with unique random numbers.... is there a
> function rhat gives me random unique numbers....??

Yes. Try

  \df rand

in psql

(find all the functions that start with "rand")

and you'll find it.

-- 
Joel Burton   <jburton(at)scw(dot)org>
Director of Information Systems, Support Center of Washington


In response to

pgsql-novice by date

Next:From: Richard HuxtonDate: 2001-07-31 14:54:15
Subject: Re: Get name of columns in a table
Previous:From: Neal LindsayDate: 2001-07-31 14:25:03
Subject: Dividing (and rounding) a date?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group