Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding Indexes
Message
 
À
06/08/2009 15:42:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01416559
Message ID:
01416605
Vues:
86
Hi Abel,

> bypass or ignore deleted records?

Why would you need to?

If your problem happens with a PRIMARY index, the right answer would be to introduce a surrogate key (http://fox.wikis.com/wc.dll?Wiki~SurrogateKey~SoftwareEng) instead of using a user controlled field as a primary key. If the error happens on a CANDIDATE index, the FOR clause that Naomi mentioned is the way to go. However, if the field is needed for optimization, you need to add a second non-CANDIDATE index on the same field without a FOR clause just for optimization purposes.
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform