Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLEXEC Speed
Message
 
 
To
09/08/2003 00:46:49
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00818531
Message ID:
00818620
Views:
19
How many records your query returns?

>I try using SQLEXEC to retrive MYSQL data, it take me 10 sec. It is so slow compare to SQLyog or MYSQL-Front, It take only 3-5 sec. In VB it take about 6 sec.
>
>Does any way to improve the speed of SQLEXEC? I try to set the PacketSize, but it does not affect the speed.
>
>TIA.
>
>Here is my prg :
>
>
>mSql = 'SELECT wo.id,wo.po,wo.custPo,wo.custPo1,wo.iCusId,ppl.no FROM erp.wo LEFT JOIN share.ppl ON wo.iCusId = share.ppl.id'
>
>mTime1 = DATETIME()
>SQLEXEC(oSql.connECTHANDLE2,mSql,'cmasc')
>mTime2 = DATETIME()
>MESSAGEBOX(mTime1)
>MESSAGEBOX(mTime2)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform