Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UPDATE vs REPLACE
Message
De
26/07/2005 15:15:50
 
 
À
26/07/2005 15:06:22
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01036002
Message ID:
01036005
Vues:
30
This message has been marked as a message which has helped to the initial question of the thread.
Yes, UPDATE will move the record pointer. To use REPLACE, the record pointer already has to be at the proper record. IMO, it's not a big deal.


>Is it true that UPDATE moves the record pointer and REPLACE does not?
>
>
>UPDATE MyTable SET MyTable.MyField = SomeValue
>REPLACE MyTable.MyField WITH SomeValue IN MyTable
>
>
>It seems that way to me, but my tests have been somewhat inconclusive in the data environment I have to work in right now.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform