RE: [SQL] random tuple

Поиск
Список
Период
Сортировка
От Mauro Bartolomeoli
Тема RE: [SQL] random tuple
Дата
Msg-id XFMail.981008140449.mbarto@wind.home.it
обсуждение исходный текст
Ответ на RE: [SQL] random tuple  ("Jackson, DeJuan" <djackson@cpsgroup.com>)
Список pgsql-sql
On 07-Oct-98 Jackson, DeJuan wrote:
>> Is there any way to select a random row from a table using an SQL
>> query?
>> I'm using Postgresql 6.3.2.
>>
> I'd look at using cursors and random().

It's a good idea. Do you (or someone else) know how to use the following
PostgreSQL functions: oidrand(oid,int4) ,oidsrand(int4)? What are they
intended for and what is their result?

---

------------------------------------
 Mauro Bartolomeoli
 e-mail: mbarto@novacomp.it
 ICQ#: 9602542
------------------------------------

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

Предыдущее
От: bisheng
Дата:
Сообщение: ...
Следующее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [HACKERS] Re: [COMMITTERS] 'pgsql/doc/src/sgml protocol.sgml'