Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote views, Tableupdate and identity keys
Message
 
 
À
19/06/2011 23:24:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Divers
Thread ID:
01515107
Message ID:
01515123
Vues:
55
>So what are the problems with IDENT_CURRENT that I should be watching for?
>
In theory, if something (another process) inserts a record after the tableupdate but before your code retrieves the key, you may get the wrong key.

The possibility is not big, but under the high-concurrency it's probable.

BTW, I recommend to read this quite long, but excellent article by Alexander Kuznetsov:

Developing Modifications that Survive Concurrency
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform