Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Index Key on multiple fields.
Message
De
19/04/2002 10:15:13
 
 
À
19/04/2002 09:55:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00646879
Message ID:
00646897
Vues:
12
>As a general rule you should NEVER have primary keys on dependant data in a table, For Primary keys I always generate a URN type Field ( unique reference number) and other indexes are just Regular type not primary , candidiate or unique
>duplicate table data in a primary key will cause table updates to fail with the error uniqueness of index is violated...

Hi Colin,

We've had no trouble with tables that have a primary key based on 1 field. It's just when compuonding the fields.

URN's are something I'll have to discuss with the DBA. It's an idea.

Thanks
Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform