Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compound index with date field.
Message
De
18/01/2005 10:41:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00978097
Message ID:
00978109
Vues:
39
>>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? :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform