Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Descending indexes in 10g

Descending indexes in 10g

From: Andy Kent <andykent.bristol1095_at_virgin.net>
Date: 25 May 2006 03:10:26 -0700
Message-ID: <1148551826.902078.240170@j73g2000cwa.googlegroups.com>


How significant are descending indexes in 10gr2? If you have an ascending index on something can it still be used for descending sorts?

e.g. if you want to do
ORDER BY a,b DESC, c
do you need an index on
a, b DESC, c
or is one on
a,b,c
enough?

If the answer is that you do need the DESC index column, how would you get that into a primary key?

Thanks

Andy Kent Received on Thu May 25 2006 - 05:10:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US