Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Index by Date Descending: Ignored
Hi.
HTH. Michael.
In article <8s52il$v1n$1_at_nnrp1.deja.com>,
billmil_at_my-deja.com wrote:
> This seems like a basic problem, but a search of the newsgroup yielded
> no similar answer.
>
> I have an index on a "users" table by a date field
> (column "record_create_date") in descending order. We're running
> 8.1.5.0.2
>
> They query "SELECT * FROM USERS ORDER BY RECORD_CREATE_DATE DESC"
> *never* uses this index.
>
> Does it have anything to do with he fact that I create the command
> using:
> CREATE INDEX USER_CREATE_DATE_I ON
> USERS(record_create_date DESC) ;
>
> But if I look at the script for the index (via the Toad schema
browser)
> I see:
> CREATE INDEX USER_CREATE_DATE_I ON
> USERS(SYS_NC00079$);
>
> Any suggestions? What obvious point am I missing?
>
> thanks,
>
> bill milbratz
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Oct 12 2000 - 16:42:04 CDT
![]() |
![]() |