General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only