Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Semaphore Locking
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00589685
Message ID:
00589844
Views:
22
As I mentioned, the only way that you'll be able to duplicate your existing logic is to start a transaction and aquire the lock on the resource. SQL Server will hold the lock until the transaction terminates and this could have SERIOUS effects to the concurrency of your application.

Cetin made a good recommendation: include a starttime in your lock table and provide your locking procedure with a rule that allows locks to timeout.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform