Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update using variables
Message
From
18/04/2000 12:21:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Update using variables
Miscellaneous
Thread ID:
00360906
Message ID:
00360906
Views:
38
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.
Reply
Map
View

Click here to load this message in the networking platform