Re: [SQL] LIMIT
Jose Soares <jose@sferacarta.com>
From: José Soares <jose@sferacarta.com>
To: Mark Jewiss <mark@office.knowledge.com>
Cc: Chris Bitmead <chris.bitmead@bigfoot.com>, hackers <pgsql-hackers@postgresql.org>
Date: 1999-04-29T14:02:15Z
Lists: pgsql-hackers
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'