Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Rollback tran when sproc interrupted

Author  Topic 

megha123
Starting Member

4 Posts

Posted - 2011-03-18 : 15:06:36
Hello,

Stored procedure has begin transaction and commit transaction.

Can anyone give me an example how to call rollback transaction when the stored procedure is interrupted or stored procedure call is cancelled.

Thanks,
Megha

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2011-03-18 : 21:03:23
If the process is killed, it will be rolled back without any action on your part.
Go to Top of Page
   

- Advertisement -