Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
***Logical Delete Record
Message
 
À
03/03/1997 15:13:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00022604
Message ID:
00022767
Vues:
42
>>1) Why isn't there at least an OPTION in VFP to have DELETED primary or
>>candidate keys treated as non-existent records which can be overwritten
>>according to the command presently being attempted?
>
>because if you RECALL the record the uniqueness will be violated - if you
>want to recycle deleted keys
>you have to implement it yourself - the best strategy IMHO is to have
>primery keys generated automatically, so there will not be a connection to
>the data or problem with skipped values etc.
>
>>2) Why is this simple fact NOT mentioned at all in the discussions
>>regarding primary keys or candidate keys? [ each of us has to learn this
>>for ourselves, the hard way]
>
>as Nike says - just do it - you can write an article on this , and we'll
>consider it for the VFUG newsletter (g)
>
>Arnon

Also, you can change the value in the primary key field to someting else and free the old value.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform