Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking
Message
De
04/01/2001 08:56:55
 
 
À
04/01/2001 02:24:44
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Divers
Thread ID:
00459242
Message ID:
00459298
Vues:
25
The SQL Server lock manager really doesn't have a means to implement pessimistic locking. Plus there's an issue that the optimizer decided the granularity of the locks based on the query that is running.

You could simulate it by implementing a semaphore lock. Create a column and write a value to it when someone wants to edit the record. Remove the value when the editing is complete or aborted.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform