Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is traditional do while...enddo faster than sql select ?
Message
De
16/08/2007 12:19:17
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
16/08/2007 11:25:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01248424
Message ID:
01248548
Vues:
29
>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 ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform