Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace vs Update
Message
De
23/08/2000 20:38:39
 
 
À
23/08/2000 20:31:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00408377
Message ID:
00408578
Vues:
13
Sorry, I missed that part about the buffering. You are right, the records will only be locked by the TableUpdate() command, so there should be no performance difference between the two commands.

In that case, it boils down to personnal preference. UPDATE-SQL being closer to SQL standard and REPLACE closer to XBase. It depends on wich side you are.
>This is a fine answer but I'm still wondering, if I use buffering mode 5 (table buffering) I never tough "replace" locks the table, I tough it would be locked only when I say "tableupdate(....). And I tough VFP would return an error message if the record(s) had been changed meanwhile. Am I all wrong?
>
>I'm still confuse with locking when and ow it goes. ((I'm much more confortable when I use MSSQL database as the backend but...)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform