Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there any difference?
Message
From
02/09/1997 18:39:38
 
 
To
02/09/1997 17:14:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00048114
Message ID:
00048140
Views:
25
>Is there any optimization difference in the following:
>
>SELECT FIELD FROM TABLE WHERE FIELDDATE=DATE() INTO CURSOR TEMP
>
>OR
>
>ldDate=DATE()
>SELECT FIELD FROM TABLE WHERE FIELDDATE=ldDate INTO CURSOR TEMP

I'm almost sure the 2nd is faster. Also, what happens with the 1st one if the SELECT is executed over midnight?

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform