Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compound index with date field.
Message
From
18/01/2005 10:41:01
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00978097
Message ID:
00978109
Views:
38
>>Hello all.
>>
>>Is there an advantage of using DTOS() over DTOC() or vise-versa when creating a compound index with a date field?
>>
>>Thanks.
>
>DTOS() will create a string that has the year first, then the month, then the day. This works much better for sorting!!

And so will DTOC(somedate,1), but I guess you really knew that? :-)
Previous
Reply
Map
View

Click here to load this message in the networking platform