RANDOM function?

Поиск
Список
Период
Сортировка
От macky
Тема RANDOM function?
Дата
Msg-id 00bb01c11983$7aa33110$5764a8c0@edsamail.com
обсуждение исходный текст
Ответы Re: RANDOM function?  (Einar Karttunen <ekarttun@cs.Helsinki.FI>)
Список pgsql-novice
can someone point me to the documentation of RANDOM() function....

and can i insert RANDOM POSTIVE WHOLE NUMBERS...?

create table table_name (key int4);

insert into table_name(key) values(random());  <-- this gives me a value of
1 and 0 only..


----------------------------------------------------------------------
The information contained in this message (including any attachments)
is confidential and intended solely for the attention and use of the
named addressee(s). It must not be copied, distributed nor disclosed
to any person. If you are not the intended recipient, please delete
it from your system and notify sender immediately. Any disclosure,
copying or distribution thereof or any action taken or omitted to be
taken in reliance thereon is prohibited and may be unlawful.
----------------------------------------------------------------------



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

Предыдущее
От: Horst Herb
Дата:
Сообщение: Re: ----??? Random ???
Следующее
От: Einar Karttunen
Дата:
Сообщение: Re: RANDOM function?