Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is traditional do while...enddo faster than sql select ?
Message
 
 
À
15/08/2007 21:04:57
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
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:
01248468
Vues:
31
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform