Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query- It is fast , and then slow
Message
 
À
13/02/2001 08:54:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00475223
Message ID:
00475247
Vues:
26
Is this Visual FoxPro 6.0? or 5.0?

M.

>Hi,
> I have a query as the following:
>
>
>SELECT m.Card_No, m.E_Name, m.Off_Code ;
>FROM Member m ;
>WHERE m.Card_No NOT IN ;
>	(SELECT Card_No ;
>	FROM (lcRedeem) WHERE Redeem_Set_No = lcSetNo) ;
>GROUP BY m.Card_No INTO CURSOR csrSummary
>
>
>
>It is not optimized since that is a NOT condition. When I run it from my application, I work fast when I run it for the 1st time! It returns 5000 records within 3 seconds through LAN. However, it becomes slow for the second time. It take 10 seconds to query.
>
>Any ideas?
>
>Thank you
Marty Smith, CSQE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform