Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoid repeated values with more than two users
Message
De
08/06/2008 03:09:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01322172
Message ID:
01322358
Vues:
18
>I have more than one table to insert incremental fields.
>Do you think is better to create only a NewKey table with several
>fields, or is it better to create a NewKey_x table to each table ?

Create NewKey table with TWO fields:
TableName
Key

And then instead of using FLOCK() use RLOCK() to lock only record for that table you need.
:-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform