Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing the Calculate function - with an index?
Message
From
02/02/2006 16:41:38
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01092819
Message ID:
01093119
Views:
25
>Steve,
>
>Tore already gave you the answer. I'd also add that write the expression like you'd see in an algebra text ( 10 < a < 15 ) in a SQL statement won't fully optimize:
>
>
>select sum(b) ;
>   from x ;
>   where 10 < a and a < 15
>
>
>10 < a won't optimize because the field is on the right hand side of the operator. a > 10 will optimize.

Thanks for reminding me... would you know whether a " a Between 10.01 and 14.99" would optimize?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform