Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is traditional do while...enddo faster than sql select ?
Message
 
 
To
15/08/2007 21:04:57
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01248424
Message ID:
01248468
Views:
30
What indexes do you have on the table? What level of optimization SYS(3054,11) returns for your query?

>i test my application with share data folder in remote server with vpn
>i found that the tradition way is much much faster than the sql statement
>
>use \\server\data\mytable order ac
>seek m.ac
>do while ac=m.ac
> *** get some data and append records into tempcursor....
>enddo
>sele tempcursor
>brow
>
>i try sql statement
>sele * from \\server\data\mytable where ac=m.ac into cursor tempcursor
>i've found that it takes very long time to show the tempcursor
>
>why ?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform