Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to speed up this SQL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00940416
Message ID:
00940419
Vues:
17
>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
>
Make sure you have index tags for BatchID, Status and TranDate fields.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform