Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow grid
Message
De
25/02/2000 13:38:56
Bob Smith
Custom Data Services, Inc.
Mansfield, Massachusetts, États-Unis
 
 
À
25/02/2000 13:11:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00337687
Message ID:
00337731
Vues:
22
I think Im beginning to understand the problem here but Im not
sure what the solution is

I have an index on villa_id and date in the v_avail table

IF I run this it is slow

select * from v_avail;
where villa_id=villas.idcode ;
and DATE>=thisform.fdate and DATE

Either one if the following runs fast

select * from v_avail;
where villa_id=villas.idcode ;
and DATE>=thisform.fdate

or

select * from v_avail;
where villa_id=villas.idcode ;
and DATE
However it seems to be the AND CLAUSE in the
DATE>=thisform.fdate AND DATEwhich is causing the problem.

Can I set up and index to accomodate this ?
or
Is there another workaround
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform