Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Row Lock
Message
De
06/12/1999 13:32:10
 
 
À
03/12/1999 23:40:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00298596
Message ID:
00299288
Vues:
25
>How can I use the row lock in MS SQL 7.0 with VFP ?

That would depend on what you want to do with it? In general, SQL Server handles the application and removal of locks (The default Transactional Isolation Level is Read Committed). When you read data, SQL Server will apply a shared lock. When you change data, SQL Server will acquire an exclusive lock and hold it until the end of the transaction.

It is possible to override the default locking behavior by changing the Transaction Isolation Level or using lock hints. The former is the perferred.

-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