Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with duplicated primary key
Message
 
To
27/09/1999 10:25:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00269314
Message ID:
00269318
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform