Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote views, Tableupdate and identity keys
Message
 
 
To
19/06/2011 23:24:19
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01515107
Message ID:
01515123
Views:
54
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform