Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I am picking up orphans in my SELECT statement?
Message
De
13/11/2000 09:49:36
 
 
À
08/11/2000 13:44:02
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00439280
Message ID:
00440979
Vues:
15
>>Here is my code:
>
>>where substr(dtoc(tabletest1.order_date),7,2) = '99'
>>
>
>Be careful with that statement. Depending on SET('DATE'), (short, for example) you may receive 0 for today's date. Also, avoid unnecessary conversion statements in your SQL as they will slow the result as a linear (geometric, possibly?) function of tabletest1's record count. In this case, you might try "WHERE tabletest1.order_date < ?vp_dBaseLine" and make sure to have an index on order_date to speed up selection. Then, set vp_dBaseLine programmatically or based on UI input.
-------
Jason,
ok, I will try it...:)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform