Subject | Re: [firebird-support] Re: SQL Limit Command |
---|---|
Author | Paul Vinkenoog |
Post date | 2003-08-15T08:59:01Z |
Hi S.,
select first 5 * from customer
or
select first 5 cust_no, customer from customer
will work.
Usually you'll want an ORDER BY too, unless you don't care which
records you'll receive.
Greetings,
Paul Vinkenoog
> Select first 5 from customers;You didn't include a fieldlist.
>
> This gives an error.
select first 5 * from customer
or
select first 5 cust_no, customer from customer
will work.
Usually you'll want an ORDER BY too, unless you don't care which
records you'll receive.
Greetings,
Paul Vinkenoog