pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomek Zielonka <tomek-lists@mult.i.pl>
To: PostgreSQL SQL <pgsql-sql@postgresql.org>
Subject: Re: random
Date: Wed, 7 Mar 2001 13:56:48 +0100
Message-ID: <20010307135648.A1172@mult.i.pl> (raw)
In-Reply-To: <20010307125036.A4207@mult.i.pl>
References: <Pine.NEB.4.10.10103051400050.13137-100000@what.openface.ca>
	<20010307125036.A4207@mult.i.pl>

On Wed, Mar 07, 2001 at 12:50:36PM +0100, Tomek Zielonka wrote:
> On Mon, Mar 05, 2001 at 02:12:15PM -0500, Jelle Ouwerkerk wrote:
> > Hi
> > 
> > What would be the best way to select a random row from a result set?
> > 
> 
> Here's my approach. It allows to get random row from the table, not from result
> set in general. Maybe you will be able to modify it to fit your needs.

[cut]

> What do you think? Is it a good idea?

I tested it myself and unfortunately it doesn't work as should. I have to
rethink it.

greetings,
Tom

-- 
.signature: Too many levels of symbolic links



view thread (19+ messages)  latest in thread

Message-ID: <20010307135648.A1172@mult.i.pl>
Permalink:  ../20010307135648.A1172@mult.i.pl/
Also on:    postgresql.org/message-id/20010307135648.A1172@mult.i.pl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tomek-lists@mult.i.pl
  Subject: Re: random
  In-Reply-To: <20010307135648.A1172@mult.i.pl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox