LIMIT QUESTION

From: "Martin Wong" <martin(at)minook(dot)com(dot)sg>
To: <pgsql-general(at)postgreSQL(dot)org>
Subject: LIMIT QUESTION
Date: 1999-04-29 02:07:20
Message-ID: 00a601be91e5$039fdfa0$6500a8c0@martin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I've an elementary question. What's wrong with the following :

dbtest=> select * from testusers limit 10;
ERROR: parser: parse error at or near "10"
dbtest=> select version();
version
-------------------------------------------------------------
PostgreSQL 6.4.2 on i586-pc-linux-gnu, compiled by gcc 2.7.2.
(1 row)

the testuser table has about 1000 rows.

Please comment.

Thanks

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Lewis 1999-04-29 02:14:01 Re: [GENERAL] PLpgSQL Stat Problem
Previous Message Aaron Holtz 1999-04-29 00:45:26 Re: [GENERAL] Any ideas why this doesn't work or how to rewrite it?