pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: José Soares <jose@sferacarta.com>
To: Mark Jewiss <mark@office.knowledge.com>
Cc: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: hackers <pgsql-hackers@postgresql.org>
Subject: Re: [SQL] LIMIT
Date: Thu, 29 Apr 1999 16:02:15 +0200
Message-ID: <37286667.F584462D@sferacarta.com> (raw)
References: <Pine.BSF.4.05.9904291023430.4008-100000@office.knowledge.com>

Mark Jewiss ha scritto:

> > > 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

I  know nothing about SET ROWCOUNT, it doesn't work for me.
I see v6.5 accepts still SET QUERY_LIMIT TO #
but it doesn't work too.
______________________________________________________________
PostgreSQL 6.5.0 on i586-pc-linux-gnu, compiled by gcc 2.7.2.3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jose'





view thread (9+ messages)  latest in thread

Message-ID: <37286667.F584462D@sferacarta.com>
Permalink:  ../37286667.F584462D@sferacarta.com/
Also on:    postgresql.org/message-id/37286667.F584462D@sferacarta.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: jose@sferacarta.com, mark@office.knowledge.com, chris.bitmead@bigfoot.com, pgsql-hackers@postgresql.org
  Subject: Re: [SQL] LIMIT
  In-Reply-To: <37286667.F584462D@sferacarta.com>
  References: <Pine.BSF.4.05.9904291023430.4008-100000@office.knowledge.com> <37286667.F584462D@sferacarta.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