Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The easy way to form a primary key
Message
De
10/08/2001 16:16:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00541152
Message ID:
00542514
Vues:
38
Hi Nadya

Yes the key would be +/-16 chars. However, getting the harddisk serial number is a standard API call. Someone else has already given the code in another thread. The key could also be shortened in various ways. I just thought it was quite easy and removes the need to check the table (any table) for duplicates.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform