Click here to Skip to main content
16,004,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what are the transaction in sql server how can we use those...
Posted

A transaction is a single unit of work. If a transaction is successful, all of the data modifications made during the transaction are committed and become a permanent part of the database. If a transaction encounters errors and must be canceled or rolled back, then all of the data modifications are erased.
SQL Server operates in the following transaction modes.
Autocommit transactions
Explicit transactions
Implicit transactions
Batch-scoped transactions
Reference Link :- http://msdn.microsoft.com/en-us/library/ms174377.aspx[^]
Try given link for more references
Transaction in SQL Server[^]
SQL Server Transactions and Error Handling[^]
Transact-SQL Reference (Database Engine)[^]
Using Transactions in SQL Server[^]
 
Share this answer
 
v2
Comments
Uday P.Singh 24-Nov-11 5:06am    
5ed :)
RaviRanjanKr 24-Nov-11 8:12am    
Thanks Uday :)
Sander Rossel 24-Nov-11 5:10am    
5ed, good links.
RaviRanjanKr 24-Nov-11 8:12am    
Thanks :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900