Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting strings with integers..
Message
De
13/01/2007 04:03:34
 
 
À
12/01/2007 09:27:02
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01184851
Message ID:
01185338
Vues:
19
>>
>>TBH, I'm not a fan of using multiple fields for a PK (always assuming this is one of course).
>
>I had never assumed this to be for a PK - which I always argue to be a LongInt where possible or an Integer in vfp. No reason to "meaningfully sort" on a PK in my book, as they should be devoid of info.
>
>>And if you stick to one field then whether you reformat the field or bodge an index on the existing format you still have to enforce the rules for subsequent data entry.
>
>Yupp, but this is much easier to communicate throughout documentation if there are 2 fields each with a different spec.

There's also a bigger flaw in the PADL ideas - fields such as 'HMD1' and 'HMD01' will be identical.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform