Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reason for creating descending index
Message
De
16/10/2000 12:43:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00429813
Message ID:
00429823
Vues:
17
>Hi everybody,
>
>I'm just curios, if there a reason for creating index in descending order (i.e. INDEX ON indexpr TAG tagname DESCENDING)? In our database we have indexes in descending order, therefore we have this field in our Index Dictionary. I've just thought, is it really neccessary?

It depends.

If you ever want to use an index in descending order, you can always use
SET ORDER TO myindex DESCENDING

so there isn't a reason to create the index descending.

However, if the usage of this index is almost always in descending order, then you might as well create the index that way.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform