Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I am picking up orphans in my SELECT statement?
Message
From
13/11/2000 09:49:36
 
 
To
08/11/2000 13:44:02
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00439280
Message ID:
00440979
Views:
13
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform