Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update using variables
Message
De
18/04/2000 12:21:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Update using variables
Divers
Thread ID:
00360906
Message ID:
00360906
Vues:
39
Hi All,

Theorical question:

Here's two formulations for the same update:
A- SqlExec (nConn, "update pmsyst set cFreeChar1 = ?CurTemp2.cPeriod " )


B- SqlExec (nConn, "update pmsyst set cFreeChar1 = '" + CurTemp2.cPeriod + "' ")

CurTemp2 is a temporary local cursor created in my foxpro program.


Are A and B equal in performance?

Does the formulation A require the server to ask the value for CurTemp2.cPeriod thus increasing network traffic?


TIA
Diane Robitaille eng.
Répondre
Fil
Voir

Click here to load this message in the networking platform