Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL record locking and transactions
Message
De
05/02/2004 09:04:24
 
 
À
05/02/2004 03:32:09
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:
00874408
Vues:
25
Derek,

use lock hints within a transaction ( it is not simple to implement and control )
* examples
BEGIN TRAN
... WITH (UPDLOCK,ROWLOCK) ....
* NOW YOU HAVE EXCLUSIVE WRITE ACCESS TO SELECTED ROWS UNTIL ROLLBACK OR COMMIT
* attention, SQL can excalade lock to pages or table
Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform