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.
| Author |
Topic |
|
msrs
32 Posts |
Posted - 2007-07-31 : 04:49:27
|
| Hi all, How to work rollback transaction in sql server. Thanks&Regardsmsrs |
|
|
pbguy
Constraint Violating Yak Guru
319 Posts |
Posted - 2007-07-31 : 04:53:09
|
| Please go through the Books online for good knowlege oftransaction--------------------------------------------------S.Ahamed |
 |
|
|
Kristen
Test
22859 Posts |
Posted - 2007-07-31 : 04:58:04
|
| "How to work rollback transaction in sql server"First initiate a transaction:BEGIN TRANSACTIONthen you can either use COMMIT or ROLLBACK.You can also use IMPLICIT Transactions - then each statement automatically starts a transaction and you MUST then Commit or Rollback each one EXPLICITLY.You can also have Nested Transactions, and Save Points, and rollback just the most recent part(s) of the transaction.Kristen |
 |
|
|
|
|
|