Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Composite primary keys
Message
De
01/12/2004 10:37:28
 
 
À
01/12/2004 10:33:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00966059
Message ID:
00966097
Vues:
8
>>Thank you Hilmar for this improvment ! I suppose that BINTOC will not preserve the order for sorting (at least, the doc doesn't say that it preserves the order) - but that is probably unimportant in my case.

>I think it will, because of the binary representation. I am not sure about negative numbers.

OK, to be tested then !

>But you must be careful to use only "Machine" for the collation sequence. "Machine" is already the default, but you may have changed this.

>bintoc() will accept the entire range of a 4 byte integer, i.e., from minus to plus 2 thousand million, approximately.

Thank you for these details. This solution seems to be as close as one can get to a real composite key.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform