pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Jewiss <mark@office.knowledge.com>
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] LIMIT
Date: Thu, 29 Apr 1999 10:24:46 +0100 (BST)
Message-ID: <Pine.BSF.4.05.9904291023430.4008-100000@office.knowledge.com> (raw)
In-Reply-To: <3727F277.EE6B553E@bigfoot.com>

> > Could someone give me an example of a select * with LIMIT 
> > used by 6.5?
> 
> SELECT * FROM foobar LIMIT 100

Or you could use ROWCOUNT...

set rowcount = 10
select * from table

Regards,

Mark.
--
Mark Jewiss
Knowledge Matters Limited




view thread (9+ messages)  latest in thread

Message-ID: <Pine.BSF.4.05.9904291023430.4008-100000@office.knowledge.com>
Permalink:  ../Pine.BSF.4.05.9904291023430.4008-100000@office.knowledge.com/
Also on:    postgresql.org/message-id/Pine.BSF.4.05.9904291023430.4008-100000@office.knowledge.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: mark@office.knowledge.com, chris.bitmead@bigfoot.com
  Subject: Re: [SQL] LIMIT
  In-Reply-To: <Pine.BSF.4.05.9904291023430.4008-100000@office.knowledge.com>
  References: <3727F277.EE6B553E@bigfoot.com> <Pine.BSF.4.05.9904291023430.4008-100000@office.knowledge.com>

* 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