Subject Re: [firebird-support] Re: Subset query
Author Jason Dodson
I believe that keeps the optimizer from using the index on IndexedField2.

Jason

willy_metra wrote:
>> Would just ignoring the second index help? E.g.:
>> ...
>> where (INDEXEDFIELD1 > '8.3.2006 00:00:00' and
>> INDEXEDFIELD1 < '8.3.2006 00:10:00')
>> and INDEXEDFIELD2+0 < '8.3.2006 00:00:00'
>
>
> I'm sorry Aage, i'm not sure what means INDEXEDFIELD2+0, please?
>
>
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
The information transmitted herewith is sensitive information intended only for use to the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon, this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.