5 rows are inserted to a DB2 Table. Next 3 of those are
updated, then a rollback is issued. What would happen when
the rollback is issued?

Answers were Sorted based on User's Feedback



5 rows are inserted to a DB2 Table. Next 3 of those are updated, then a rollback is issued. What ..

Answer / rashmi

The 5 inserted records will not be there in the table.
Becouse rollback is happening before the commit(Untill
unless you commit it, the changes will not reflect in the
table).

Is This Answer Correct ?    13 Yes 0 No

5 rows are inserted to a DB2 Table. Next 3 of those are updated, then a rollback is issued. What ..

Answer / guest

The 5 rows inserted will be not be present in the table.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is the role of union all and union

0 Answers  


how can u nderstand the sql stmts executed successfully or not ?

1 Answers   TCS,


What is ACQUIRE/RELEASE in BIND?

3 Answers   Cognizant,


How do you do the EXPLAIN of a dynamic SQL statement?

2 Answers  


What is the difference between Primary key and unique index?

6 Answers  






In my table having 100 Rec. How can I delete the 7th row?? (we don't know what is data inside the table)

9 Answers   IBM,


Explain the benefits you can get from mainframe connect?

0 Answers  


which authority can be granted to group of users using the GRANT stmt? A) SYSCTRL B) SYSADM C) DBCTRL D) DB ADM

3 Answers   Accenture,


What r the comman abends in db2, jcl and cobol???????

0 Answers   Mphasis,


What is buffrpool? Where we use it ?

2 Answers   Tesco,


Define db2 and its databases?

0 Answers  


What is reorg and runstats in db2?

0 Answers  


Categories