pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Morton <fmorton@base2inc.com>
To: pgsql-sql@postgreSQL.org
Subject: setting select limit?
Date: Wed, 10 Feb 1999 20:36:57 -0500
Message-ID: <01ae01be555f$0390d4f0$8355e5ce@base2inc.com> (raw)

If a select is going to match 1000 records, but I only want to
select the first 25, I thought I could:

select * from table limit 25;

But I guess I can't. How do I limit the query? I've search
around with no results. Thanks.






view thread (5+ messages)  latest in thread

Message-ID: <01ae01be555f$0390d4f0$8355e5ce@base2inc.com>
Permalink:  ../01ae01be555f$0390d4f0$8355e5ce@base2inc.com/
Also on:    postgresql.org/message-id/01ae01be555f$0390d4f0$8355e5ce@base2inc.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: fmorton@base2inc.com
  Subject: Re: setting select limit?
  In-Reply-To: <01ae01be555f$0390d4f0$8355e5ce@base2inc.com>
  References: <01ae01be555f$0390d4f0$8355e5ce@base2inc.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