pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chairudin Sentosa <chairudin@prima.net.id>
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: pgsql-sql@hub.org
Subject: Re: [SQL] SELECT TOP _x_ ??
Date: Fri, 23 Apr 1999 01:36:15 -0700
Message-ID: <372030FF.FCB6D1D4@prima.net.id> (raw)
References: <000401be8ccd$06c7e320$0a411a9f@cbn.org>
	<371F355F.7551BAAB@bigfoot.com>

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




view thread (5+ messages)  latest in thread

Message-ID: <372030FF.FCB6D1D4@prima.net.id>
Permalink:  ../372030FF.FCB6D1D4@prima.net.id/
Also on:    postgresql.org/message-id/372030FF.FCB6D1D4@prima.net.id

 · 

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: chairudin@prima.net.id, chris.bitmead@bigfoot.com, pgsql-sql@hub.org
  Subject: Re: [SQL] SELECT TOP _x_ ??
  In-Reply-To: <372030FF.FCB6D1D4@prima.net.id>
  References: <000401be8ccd$06c7e320$0a411a9f@cbn.org> <371F355F.7551BAAB@bigfoot.com> <372030FF.FCB6D1D4@prima.net.id>

* 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