Could someone give me an example of a select * with LIMIT used
by 6.5? --poet@linuxports.com-- ICQ: 33017215http://www.linuxports.com --Power to the Penguin--
Re: [SQL] LIMIT
От:
Chris Bitmead <chris.bitmead@bigfoot.com>
Дата:
"Mr. Poet" wrote:
>
> Could someone give me an example of a select * with LIMIT
> used by 6.5?
SELECT * FROM foobar LIMIT 100
Re: [SQL] LIMIT
От:
Dirk Lutzebaeck <lutzeb@aeccom.com>
Дата:
Besides, I have problems with SELECT LIMIT on unions in
6.5beta1. Anyone else?
Dirk
Re: [SQL] LIMIT
От:
Mark Jewiss <mark@office.knowledge.com>
Дата:
> > 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
Re: [SQL] LIMIT
От:
José Soares <jose@sferacarta.com>
Дата:
Dirk Lutzebaeck ha scritto:
> Besides, I have problems with SELECT LIMIT on unions in
> 6.5beta1. Anyone else?
>
> Dirk
LIMIT doesn't work with UNION, I think this is a known bug.
José