Subject | Re: Order Clause Tunning Problem |
---|---|
Author | kick_tisho |
Post date | 2005-05-25T12:05:13Z |
> Having the ORDER BY using an index isn't always a good thing - asort is
> usually quite fast. Quite often, I make an effort to avoid using anindex
> for an ORDER BY.paths
> You could also start with a test on P_ORDER, and have two different
> depending on the value. You'll have more (duplicate) code, butyou'll
> avoid the CASE.I search i way to make it in one query. My purpose is to use the index
>
>
> --
> Aage J.
so later i can make tests to see what is faster. I think with the
index will be many times faster.