Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INDEX ON DateTime Field?
Message
 
To
27/10/1998 11:58:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00150884
Message ID:
00151356
Views:
24
And this is directly opposite to the thread from a week or two ago that said the field MUST be on the left to work reliably. Very strange.

>Interesting. In 5.0aw/sp3, I tried this and some variations, too.
>
>x={^1998/10/27 08:30:00 A}
>SELECT * FROM c_tbl WHERE x = dt_tm && This selects the correct record
>SELECT * FROM c_tbl WHERE dt_tm = x && This results in an empty data set.
>
>>SELECT * FROM c_tbl WHERE dt_tm = {^1998/10/27 08:30:00 A}
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform