Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is traditional do while...enddo faster than sql select ?
Message
From
16/08/2007 12:19:17
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
16/08/2007 11:25:43
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01248424
Message ID:
01248548
Views:
28
>Because you are, in reality, only setting a filter in the table and the browsing it across the VPN.
>
>Try adding 'NOFILT' after the SQL statement and see if that isn't faster, assuming that you have the correct indexes, etc on the orignal table

That could be it! I missed the vpn part.

>
>>hi all !
>>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 ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform