Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Proper index for date field
Message
De
22/01/2006 10:40:06
 
 
À
22/01/2006 09:57:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01089204
Message ID:
01089211
Vues:
35
Hi Jim,

Yes, I am opening the view with NODATA.

I only have a handful of deleted records and NO I do not have a tag on DELETED().

If I add the index as expression = TTOC(xxx,1) or DTOS() would I not need to make the same changes to the where clause, or does it matter?

TTOC(Account_debits.dtxndatetm,1) >= ttoc(DATETIME()-432000,1);

Do the index expr and the use of it in the view not have to be in sync with each other for optimization? That is probably the part I do not "get".

Thanks,
John
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform