Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow grid
Message
De
25/02/2000 13:50:52
 
 
À
25/02/2000 13:38:56
Bob Smith
Custom Data Services, Inc.
Mansfield, Massachusetts, États-Unis
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:
00337736
Vues:
20
>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 DATE which is causing the problem.

>Can I set up and index to accomodate this ?
>or
>Is there another workaround

I assume DATE is a logical field right? If it's not indexed maybe you should, if not for anyother reason, for the query reason, (yes, you can index on a logical field). Make sure your where clause mirrors the indexes of the tables and "set optimize on" before executing the sql query.
HI-YO SILVER AWAY!!
The Lone Ranger, The late Clayton Moore R.I.P.
I am a fool!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform