Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I pack a file/reindex within a form
Message
 
 
À
07/08/2006 11:09:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01143376
Message ID:
01143475
Vues:
8
>An index with the expression not deleted() can make all sorts of queries very slow.
>
>An index with any other expression, but filtered on not deleted(), will simply not be used for Rushmore Optimization. You may sometimes need this index, for example, for a client code, if you want to declare it as candidate (or primary, depending on your design), and the user supplies the code. In this case, it may be necessary (in some cases) to have a second index, not filtered and not candidate, on the same expression, for use in Rushmore Optimization.

It's changed in VFP9:

"INDEX ON NOT(DELETED()) optimizes NOT(DELETED()) and DELETED() query conditions. In versions prior to Visual FoxPro 9.0, only DELETED() was optimized".

"INDEX ON ... FOR DELETED( ) or INDEX ON ... FOR NOT(DELETED()) optimizes DELETED() or NOT(DELETED()) query conditions respectively when INDEX ON DELETED() or INDEX ON NOT(DELETED()) is not present".
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform