Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL record locking and transactions
Message
De
04/03/2004 13:17:14
 
 
À
04/03/2004 12:25:00
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00874330
Message ID:
00883172
Vues:
18

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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform