Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to speed up this SQL
Message
From
08/09/2004 17:03:04
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00940416
Message ID:
00940421
Views:
18
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
>
Previous
Reply
Map
View

Click here to load this message in the networking platform