Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wrapping all SQL updates into one transaction
Message
De
11/01/2000 17:13:19
 
 
À
11/01/2000 09:10:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00315804
Message ID:
00316522
Vues:
15
First the easy question. SQLRollback() will cause the transaction to be rollbacked. Any changes that were made since the transaction was started, will be undo.

I don't forsee and major problems with queries being submitted from multiple modules. Just make sure that each module uses the same connection handle. Maybe pass the connection handle to each module when it's called by the driver.

Now for the stickler - SQL Server will maintain exclusive locks until the transaction is terminated. If your process takes a long time, you may want to run it during down or slow time.

-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