Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wrapping all SQL updates into one transaction
Message
From
11/01/2000 17:13:19
 
 
To
11/01/2000 09:10:35
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00315804
Message ID:
00316522
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform