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

Поиск
Список
Период
Сортировка
От Horst Herb
Тема Re: ----??? Random ???
Дата
Msg-id 01073114065604.02026@munin.gnumed.dhs.org
обсуждение исходный текст
Ответ на ----??? Random ???  ("macky" <macky@edsamail.com>)
Список pgsql-novice
On Tuesday 31 July 2001 13:50, you wrote:
> i want to populate a column with unique random numbers.... is there a
> function rhat gives me random unique numbers....??

Yes, Surprisingly ;-) it is called random().

gnumed2=# select random();
      random
-------------------
 0.635214479935921
(1 row)

gnumed2=# create table test(number float);
CREATE
gnumed2=# insert into test values(random());
INSERT 505549 1

Horst


В списке pgsql-novice по дате отправления:

Предыдущее
От: Mithun Bhattacharya
Дата:
Сообщение: [Re: Re: Postgresql & Redhat 6.2 = memory leak?]
Следующее
От: "macky"
Дата:
Сообщение: RANDOM function?