Subject | Re: Newbie: A few questions... |
---|---|
Author | lesdean79 |
Post date | 2004-08-06T10:39:44Z |
Hi Helen,
"Helen Borrie" <helebor@...> wrote in message
1.5.
need
--
--------------------------
Lesley Dean
CapeSoft
www.capesoft.com
"Helen Borrie" <helebor@...> wrote in message
> You can create DESC primary (and matched order foreign) keys inFirebird
1.5.
>don't
> Data in Firebird are not stored in tabular structures at all and
need
> to be. Mixed *sort* orders don't come from indexes in SQL, they arecreated
> by your SQL statement specification, in an ORDER BY clause. Speedcan be
> gained for these sorts (sometimes) by defining indexes to supportthem,
> e.g. forASC
>
> order by col1 desc, col3
>
> you might gain some speed by creating a DESC index for col1 and an
> index for col3.Excellent, thanks.
>
> 253 for character set NONE, 252 or less for all other charactersets.
> There's a calculator here:Thanks!
>
> http://www.volny.cz/iprenosil/interbase/ip_ib_indexcalculator.htm
--
--------------------------
Lesley Dean
CapeSoft
www.capesoft.com