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

Random tuple?

From: "Brendan LeFebvre" <brendanl(at)iname(dot)com>
To: "Pgsql-Novice(at)Postgresql(dot) Org" <pgsql-novice(at)postgresql(dot)org>
Subject: Random tuple?
Date: 2002-10-18 23:09:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Is there available a routine, intrinsic or otherwise, that allows for simple
extraction of one(1) random tuple from a given table or query-result?

(The specific application I had in mind was drawing a random product from a
webstore's inventory to feature on a front or section web page).


pgsql-novice by date

Next:From: Jon JensenDate: 2002-10-18 23:13:11
Subject: Re: Random tuple?
Previous:From: János LöbbDate: 2002-10-18 22:12:37
Subject: What is the right external type in EOModeler for an internal type integer ?

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