Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL record locking and transactions
Message
From
04/03/2004 13:17:14
 
 
To
04/03/2004 12:25:00
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00874330
Message ID:
00883172
Views:
17

But my intentions are to know them better. I mean through Visual FoxPro and Spt. What does the second Instance do in case of the first having a lock and then lossing the connection midway?
Right. first instance can do nothing but does the sqlserver still hold the lock and still is not avaiable for the second instance?

no, SQL Server have a "connection live" monitor,
if the connection is lost SQL server release all the resources of the connection,
and locks are removed.

You can use the T-SQL command:
SET LOCK_TIMEOUT 500
and manage the lock error 1222
for cancel/message/reprocess ... the SQL command

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform