Subject | Re: [ib-support] Plan not working |
---|---|
Author | Ivan Prenosil |
Post date | 2001-11-02T10:13:52Z |
> I have CREATE INDEX CUSTOMER_NAME_KEY ON CUSTOMER (NAME, INITIALS);Is this exactly the command use are using ? It should use index.
>
> If I write the query select * from customer where customer = 'SMITH'
> order by name, initials
>Ivan
> I get the plan : PLAN SORT ((CUSTOMER NATURAL))
>
> How do i change this to my index ? Surely interbase should pick up
> the fact that I have an index on name, inititals (the index is active)
http://www.volny.cz/iprenosil/interbase