Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to speed up this SQL
Message
De
09/09/2004 09:43:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00940416
Message ID:
00940602
Vues:
18
Resh.Status = " "
is faster than
Resh.Status == " "


>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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform