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

wht is d/f b/w inner join and outer join ? d/f group by and order by having by ?

2 Answers  


can all users have the privilage to use the sql statement select * (dml)?

0 Answers   IBM,


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

0 Answers  


What is the difference between spufi and qmf?

0 Answers  


What is the syntax required for the creation of a cursor?

1 Answers  






What is DCLGEN ?

3 Answers  


How can deadlocks be resolved?

0 Answers  


What is meant by explain?

0 Answers  


If a table has a column "dept" (declared to have nulls) and there are 10 rows in the table of which 3 have a null value in the dept column, what will select count(*) and select count(distinct dept) return?

6 Answers  


how does the defining of a stored procedure effect the size of a DB2 data base A) it increases the size of a data base B) it decreases the size of a data base C) it does not effect the size of the data base D) it changes the table space structures

2 Answers   Accenture,


what is the differences between spufi and qmf and which is better?

4 Answers   Accenture, Cap Gemini,


Differentiate between cs and rr isolation levels? Where do you specify them?

0 Answers  


Categories