Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary key
Message
De
22/03/2003 18:38:28
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
Titre:
Divers
Thread ID:
00766466
Message ID:
00768984
Vues:
18
>I don´t see the need to create a concatenated index. Why do you want to create such an index? If you are going the query the table it will be on either one of the fk´s. Having an index for each of them is enough. There is no need to join them in a string.

I understand that the concatenated index would not be used for PK or FK purposes, but to avoid duplicate records (by defining the index as "candidate").

I have often used concatenated indices in this way, to ensure uniqueness for a combination of two or more fields.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform