Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking
Message
From
04/01/2001 08:56:55
 
 
To
04/01/2001 02:24:44
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Miscellaneous
Thread ID:
00459242
Message ID:
00459298
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform