Subject | Re: [firebird-support] Select records by their position |
---|---|
Author | Alexandre Benson Smith |
Post date | 2007-08-17T21:17:08Z |
Magno Machado wrote:
code) but something on this line:
select first X skip Y from foo
In the fetch loop, skip (does not return to the client) the Y first ROWS
and return the X next rows, stop as soon as X records are returned or
the end of the result set are reached.
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
>> Yes you are wrong. As I and others have already answered you tables areI am not talking about implementation details (since I don't know FB
>> unordered sets of rows. There is no position. Postion comes to play on
>> your
>> client side when you see your data in some nice grid
>>
>
> Ok.
> So, how does first/skip works?
>
>
code) but something on this line:
select first X skip Y from foo
In the fetch loop, skip (does not return to the client) the Y first ROWS
and return the X next rows, stop as soon as X records are returned or
the end of the result set are reached.
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br