Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL record locking and transactions
Message
From
05/02/2004 09:04:24
 
 
To
05/02/2004 03:32:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00874330
Message ID:
00874408
Views:
24
Derek,

use lock hints within a transaction ( it is not simple to implement and control )
* examples
BEGIN TRAN
... WITH (UPDLOCK,ROWLOCK) ....
* NOW YOU HAVE EXCLUSIVE WRITE ACCESS TO SELECTED ROWS UNTIL ROLLBACK OR COMMIT
* attention, SQL can excalade lock to pages or table
Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform