Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where does it make sense to use BINARY index option
Message
De
25/08/2005 02:27:24
 
 
À
24/08/2005 22:31:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01043681
Message ID:
01043712
Vues:
8
>VFP 9 introduced the new BINARY index option. In reading the online help, I noticed that BINARY indexes can not (among other limitations) be used for SEEK's.
>
>I assume BINARY indexes can be safely used in SQL SELECT WHERE or HAVING clauses but NOT in SQL SELECT GROUP BY or ORDER clauses. Does this seem like a valid assumption?
>
>
>SELECT ... WHERE MyBinaryIndexField = somevalue
>
>
>Is there a best practice list of scenarios where BINARY indexes make sense?
>
>Thank you,
>Malcolm

The binary is for functions returning .T. or .F., for instance DELETED(), ISNULL() or EMPTY(). With these binary indexes (indeces ?), VFP will load these index bitmaps into memory whenever needed, and since these binary bitmaps are much smaller than ordinary index bitmaps, the response will be much quicker. These new binary indexes will be used in Select * Where xx, Browse For xx and similar situations.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform