Explain transactions, commits and rollbacks in DB2.
Answers were Sorted based on User's Feedback
Answer / kumar
Transaction is any basic operation in DB2 like Insert,
Update, Delete is called transaction.
Commit: Make the changes permanently in database
Rollback: Get back the changes to the database.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / s
Transactions are programs that run under the transaction
managers like CICS, IMS/TM. Transactions require excellent
response times.
Commit makes the database changes permanent that was made
during a unit of recovery ie. from one consistency point to
another.
Rollbacks reverses the changes made to the database during
a unit of recovery.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / deepak
Transaction is any basic operation in DB2 like Insert,
Update, Delete is called transaction.
Commit-is use to save the records in data base for ex, I
have hundred records I got an abend in 50th records I can
save upto 49 records, and solve the issue and continue from
50th records,
Roll Back- it do not save the records if any abend occurs
| Is This Answer Correct ? | 0 Yes | 0 No |
Under what circumstances will DB2 allow an SQL statement to update more than one primary key value at a time?
Do we need cursor for Count(*)?
How do you retrieve the first 5 characters of firstname column of db2 table emp?
What is the use of COMMAREA ?Minimum how much data we can pass from it?
my project is insurance management system,how to explain my work environment in interview?
What is the syntax for seeing the columns and data types of a table in the db2 database?
In cursor program-1 can we create another cursor program-2 inside the cursor program-1.If yes how/no why ?
What do the initials DDL and DML stand for and what is their meaning?
What is data manager?
Is db2 a database?
how to resolve -818 error. how to see timestamp token in load module and plan
What is concurrency?