On 9/12/2012 1:02 PM, Fred Taylor wrote:
>>
>>
>>
>> What happens if you use "DATE BETWEEN trcask4 and trcask5" instead of
>> using VFP's BETWEEN function?  iirc, BETWEEN(field,arg1,arg2) was NOT
>> optimizable but "field BETWEEN arg1 and arg2" was optimizable.
>>
>>
>>
> Just tried it to prove it to myself.  No difference in whichever syntax you
> choose, optimization uses the TAG on the date field and is fully optimized.


Thanks, Fred!  I'm in/out of offices today so no time to verify myself. 
  Glad you did to clear that up!


-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16

_______________________________________________
Post Messages to: ProFox@leafe.com
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/5050c2e8.5030...@mbsoftwaresolutions.com
** 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