I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG
WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK
FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST
COMMITTING POINT.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More DB2 Interview Questions

what is Runstats? Whem will u choose to runatats?

1 Answers   Danske,


what is Static and dynamic linking

1 Answers   Virtusa,


List some fields from sqlca?

0 Answers  


What is the purpose of coding FETCH in a SQL SELECT query? Explain with an example in Detail?

4 Answers  


In SPUFI suppose you want to select maximum of 1000 rows, but the select returns only 200 rows. What are the 2 SQLCODEs that are returned?

1 Answers  






Is it mandatory to use DCLGEN? If not, why would you use it at all?

2 Answers  


List out the three types of page locks that can be held.

0 Answers  


How to find the maximum value in a column in the db2 database?

0 Answers  


What does db2 mean?

0 Answers  


what is the input to PLAN? what is the input to DBRM?

4 Answers  


What is cursor?

2 Answers  


In cursor program-1 can we create another cursor program-2 inside the cursor program-1.If yes how/no why ?

2 Answers   Wipro,


Categories