Re: [SQL] LIMIT

From: José Soares <jose(at)sferacarta(dot)com>
To: Mark Jewiss <mark(at)office(dot)knowledge(dot)com>
Cc: Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com>, hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [SQL] LIMIT
Date: 1999-04-29 15:45:10
Message-ID: 37287E86.E15A82EB@sferacarta.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

hygea=> set rowcount 10;
ERROR: parser: parse error at or near "10"

Which version of Postgres are you using?

Mark Jewiss ha scritto:

> > I don't know nothing about ROWCOUNT.
> > SET ROWCOUNT doesn't work for me.
> > hygea=> set rowcount = 10;
>
> Sorry, this is my faul. Correct SQL syntax is
>
> set rowcount 10
>
> Cheers,
>
> Mark.

--
______________________________________________________________
PostgreSQL 6.5.0 on i586-pc-linux-gnu, compiled by gcc 2.7.2.3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jose'

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-04-29 16:06:20 Re: [HACKERS] numeric data type on 6.5
Previous Message Thomas Lockhart 1999-04-29 15:21:51 Re: [HACKERS] numeric data type on 6.5

Browse pgsql-sql by date

  From Date Subject
Next Message Mr. Poet 1999-04-29 17:49:45 Limit Questions 2
Previous Message Herouth Maoz 1999-04-29 15:03:54 Re: [SQL] Finding the "most recent" rows