Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index on descending dates as part of expression
Message
From
24/08/2001 20:46:14
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, United States
 
 
To
24/08/2001 18:30:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00548638
Message ID:
00549080
Views:
14
Hi Craig,

Yes, good call. Testing is always warranted. Here, given that both of the two index key approaches,

... + str( SomeDate - AnotherDate )
vs.
... + bintoc( SomeDate - AnotherDate )

require a VFP function call, the index size seems to make some difference albeit relatively marginal. Bintoc() seemed (earlier informal tests on a local drive) to be in the range of five to maybe twenty percent faster depending on the table's size. Not enough to go back and retrofit changes.
Previous
Reply
Map
View

Click here to load this message in the networking platform