Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore, don't get it
Message
From
21/04/2005 11:25:07
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01006860
Message ID:
01007054
Views:
17
>Gregory,
>
>>I always do. And why not ?
>
>Because an index on the column itself would be faster. Since bintoc() by default returns a 4 byte value and integer is a 4 byte data element the index tree will be the same size so why waste cpu cycles generating the bintoc conversion?
>
>bintoc() was designed to create smaller concatenated column indexes than we could prior to it being added to the language.

It's a habit. I've always stayed away from indexing on Integer, Date, DateTime, Numerics and doubles

If bintoc() sometimes, not always, fails on views and cursors and not on tables (yet), who says that an index on an integer won't
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform