I have 3 cursors declared. Cursor1 retieves some data.
Based on this curso2 will also fetches some data. In cursor3
(using for some updation) I'm using the data retrieved by
the above 2 cursor. My question is, while working with
cursor3, periodically if I give commit, will all the three
crsors will be closed or only cursor3 will be closed?

Answer Posted / purushotham

Obviously it will close all the cursors.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a bind card?

681


What is the result of open cursor statement?

638


How do I add a column in db2?

595


What is cursor with hold option in db2?

613


Why do we need reorg in db2?

564






How to check table size in db2 sap?

582


If I have a view which is a join of two or more tables, can this view be updateable?

694


Discuss about db2 bind?

673


What is the use of value function?

629


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

630


Is the primary key a clustered index?

611


Is db2 relational database?

574


What is host variable?

597


Define db2 and its databases?

620


What is meant by union and union all?

589