Search:     Advanced search
Browse by category:
C/C++   |   Java   |   Oracle/Database   |   SAP   |   ASP .NET   |   Mainframe-DB2   |   Freshers

Q: Please explain the concepts of transaction, commit and rollback

Add comment
Views: 519
Votes: 1
Comments: 0

A sequence of database modifications, i.e., a sequence of insert, update, and delete statements,is called a transaction.
These modifications are temporarily stored in the database system. They become permanent only after the statement commit; has been issued.
As long as the user has not issued the commit statement, it is possible to undo all modifications since the last commit. To undo modifications, one has to issue the statement rollback;.
All statements between two commits or a commit and a rollback form one transaction. Please note that all ddl statements are autocommit.

 

Others in this Category
document What are Ranking Functions?
document What are different normalization forms?
document What is an execution plan? When would you use it? How would you view the execution plan?
document What is Isolation Levels?
document What are primary keys and foreign keys?
document What is Log Shipping?
document What is RDBMS?
document What is UNIQUE KEY constraint?
document What is Service Broker?
document What is the difference between UNION and UNION ALL?
» More articles



RSS