Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow tableupdate
Message
De
05/06/2003 14:27:20
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
05/06/2003 09:57:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00796511
Message ID:
00796881
Vues:
13
>The indexes on the table are:
>
>PK (primary)
>location_id+depot_code+DTOC(delivery_date)+....

This won't necessarily affect your speed issues but look at DTOS() (date-to-string) for indexes instead of DTOC().

? DTOS(DATE()) && "20030605"

DTOS() is consistent whether you're using DMY or MDY, and always contains four digits for the year. It sorts nicely where DTOC() values don't.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform