Subject | Re: [ib-support] SELECT Order by DESC |
---|---|
Author | Helen Borrie |
Post date | 2002-05-20T12:02:35Z |
At 01:17 PM 20-05-02 +0200, Balázs Szakály wrote:
which it doesn't. FB data are not physically stored in any order. You
create indexes to "describe" the orderings you want.
indexes (default) for ascending sorts.
Helen
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
_______________________________________________________
>Why cannot use FB any index on select with desc order?I guess to "capsize" an index, FB would have to have indexes on indexes,
which it doesn't. FB data are not physically stored in any order. You
create indexes to "describe" the orderings you want.
>Select * from TTT order by FFF descYes. Create descending indexes for descending sorts, use your ascending
>
>There is an index to fff but not desc order. Why cannot use in this
>case?
>So, i need to create 2 indexes to all table, where i need desc order
>with high response time.
indexes (default) for ascending sorts.
Helen
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
_______________________________________________________