Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Query with VFP database - Logical 0/1 question...
Message
From
01/02/2002 08:54:01
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00613867
Message ID:
00613934
Views:
8
>Thanks to you both...
>Hilmar - I found your document enlightening!!! I will have to go back over some of my previous projects - I have had an "If in doubt - index it!!!" approach up until reading your document...

Right. I was also surprised when I first learned that some indices may significantly slow down a query, instead of making it faster. But speed tests reveal that this is, indeed, so.

You will usually want to index fields that have few records for any one value. In some cases you have no choice (Referential Integrity, but this isn't usually a problem).

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform