Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to speed up this SQL
Message
De
08/09/2004 17:03:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00940416
Message ID:
00940421
Vues:
17
Hi Kevin,

Do you have index tags on status and transdate?

>This runs real slow. Any way to speed it up?
>
>
>SELECT Id, EntryDate, TranDate, BatchId, EntityId, Count(*) AS Cnt;
>  FROM Resh;
>  WHERE Resh.Status == " " AND;
>  BETWEEN(TranDate, dDateFrom, dDateTo);
>  GROUP BY Resh.BatchId;
>  ORDER BY &cSortOrder;
>  INTO CURSOR Temp1
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform