|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
RollBack on Power Failure
I am using VB6.0 and Sql Server 2000. I want to update 2 tables in a transaction. Both should be updated or none should be updated. If there is a power failure after updating one table but not the other, then the updation of the first table should be rolled back. I thought of using the VB codes, BeginTrans, CommitTrans and RollBackTrans. How do you write a RollBack statement for the power failure? (When there is a power failure, codes will stop executing). How do you solve this problem?
|
|
#2
|
|||
|
|||
|
You should look at sql2000 failure recovery.
Or use battery backups.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > RollBack on Power Failure |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|