From: José Soares <jose@sferacarta.com>
To: justinlong@xc.org
Cc: pgsql-sql@hub.org
Subject: Re: [SQL] SELECT TOP X -- part 2 -- parse error?
Date: Fri, 23 Apr 1999 16:25:47 +0200
Message-ID: <372082EB.B7589C22@sferacarta.com> (raw)
References: <000301be8cf1$4845e620$0a411a9f@cbn.org>
Justin Long ha scritto:
> Thanks for the answers. I downloaded and installed PG5... now I have a new
> problem. I can't seem to access any documentation on the syntax of the new
> additions to PG5, and I'm getting a parse error with the following command
>
> SELECT * FROM database LIMIT 5
^^^^^^^^
database ????
the right syntax is:
SELECT * FROM table LIMIT 5
>
> It says
>
> parse error at or near "5"
>
EXAMPLE:
prova=> select * from test limit 1;
v| c| i
---+---+---
123|123|123
(1 row)
José
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, justinlong@xc.org, pgsql-sql@hub.org
Subject: Re: [SQL] SELECT TOP X -- part 2 -- parse error?
In-Reply-To: <372082EB.B7589C22@sferacarta.com>
References: <000301be8cf1$4845e620$0a411a9f@cbn.org> <372082EB.B7589C22@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