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 14:02:15 |
Message-ID: | 37286667.F584462D@sferacarta.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-sql |
Mark Jewiss ha scritto:
> > > Could someone give me an example of a select * with LIMIT
> > > used by 6.5?
> >
> > SELECT * FROM foobar LIMIT 100
>
> Or you could use ROWCOUNT...
>
> set rowcount = 10
> select * from table
>
> Regards,
>
> Mark.
> --
> Mark Jewiss
> Knowledge Matters Limited
I know nothing about SET ROWCOUNT, it doesn't work for me.
I see v6.5 accepts still SET QUERY_LIMIT TO #
but it doesn't work too.
______________________________________________________________
PostgreSQL 6.5.0 on i586-pc-linux-gnu, compiled by gcc 2.7.2.3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jose'
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-04-29 14:19:28 | Re: [HACKERS] FYI: snapshot 4/28/1999 (fwd) |
Previous Message | José Soares | 1999-04-29 13:55:34 | Re: [SQL] LIMIT |
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Bitmead | 1999-04-29 14:28:22 | Re: [SQL] Finding the "most recent" rows |
Previous Message | José Soares | 1999-04-29 13:55:34 | Re: [SQL] LIMIT |