MB Software Solutions General Account wrote:
> Running SYS(3054,11,"lcOpt") says this query is not optimizable, yet 
> there's an index on both start and stop fields:
>
> sele daynum, time, start ;
>     from i_sched ;
>     where empty(stop) or stop >= ldDate + (daynum-1);
>         and start <= ldDate + (daynum-1);
>     into cursor TempISched
>
>
> ldDate is a local date variable.  Sys(3054) reports this:  "Rushmore 
> optimization level for table i_sched: none"
>
>   

There's also an index on DAYNUM too.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to