Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with duplicated primary key
Message
 
À
27/09/1999 10:25:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00269314
Message ID:
00269318
Vues:
20
>Hi!
>I have a problem when I need to create a new record with a primary key equal to the pk of a record deleted (marked for deleted - not packed the table). Of course I need that field with the attribute unique due to the relational model. How can I create a new record without packing the table or renaming the pk?

Hi Edgar,

You can use a scheme where you reuse your deleted records, but I recommend that every record you create use a new unique key value.

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform