From: Chris Bitmead <chris.bitmead@bigfoot.com>
To: pgsql-sql@hub.org
Subject: Re: [SQL] SELECT TOP _x_ ??
Date: Fri, 23 Apr 1999 02:34:34 +0000
Message-ID: <371FDC3A.5A8BA9FF@bigfoot.com> (raw)
References: <000401be8ccd$06c7e320$0a411a9f@cbn.org>
<371F355F.7551BAAB@bigfoot.com>
<372030FF.FCB6D1D4@prima.net.id>
Chairudin Sentosa wrote:
>
> I tried this, did not work.
>
> ibs=> select * from ibs_subscriber limit 5;
> ERROR: parser: syntax error at or near "5"
>
> Regards,
> Chai
>
> PS: PostgreSQL 6.5
Which snapshot?
>
> Chris Bitmead wrote:
>
> > Justin Long wrote:
> > >
> > > In Microsoft SQL Server you could issue a command
> > >
> > > SELECT TOP 5 * FROM database...
> >
> > SELECT * FROM TABLE LIMIT 5;
> >
> > You may have to be running 6.5, not sure.
> >
> > --
> > Chris Bitmead
> > http://www.bigfoot.com/~chris.bitmead
> > mailto:chris.bitmead@bigfoot.com
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: chris.bitmead@bigfoot.com, pgsql-sql@hub.org
Subject: Re: [SQL] SELECT TOP _x_ ??
In-Reply-To: <371FDC3A.5A8BA9FF@bigfoot.com>
References: <000401be8ccd$06c7e320$0a411a9f@cbn.org> <371F355F.7551BAAB@bigfoot.com> <372030FF.FCB6D1D4@prima.net.id> <371FDC3A.5A8BA9FF@bigfoot.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