T
tc
I am using SQL Server 2000 as data storage
I have a transaction which has the following structure
connection.begintran
Process A
Process B
Process C
connection.commit
rollback when failed
In each process(A, B, C), there will also be BeginTran, Commit & Rollback
inside it.
I have such structure because process A, B, C are methods provided by
different object.
I have found that when I failed in process B, A will not be rollback...
So how can I implement a nested transaction?
Thanks
I have a transaction which has the following structure
connection.begintran
Process A
Process B
Process C
connection.commit
rollback when failed
In each process(A, B, C), there will also be BeginTran, Commit & Rollback
inside it.
I have such structure because process A, B, C are methods provided by
different object.
I have found that when I failed in process B, A will not be rollback...
So how can I implement a nested transaction?
Thanks