Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Query with VFP database - Logical 0/1 question...
Message
De
01/02/2002 08:54:01
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00613867
Message ID:
00613934
Vues:
9
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform