Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index on DATETIME() fields
Message
 
 
To
02/12/2008 09:54:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01364954
Message ID:
01365122
Views:
14
>DTOC() is actually dependent on the current SET DATE setting, so it's a very risky choice for indexes. For a date field, as you say, DTOS() is the way to go. For datetime, as others said, TTOC(,1).

It's not entirely correct because DTOC(,1) is the same as DTOS().
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform