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 / sridhar
COMMIT will close all the cursors, if the cursors are not
delcared using 'WITH HOLD'.
| Is This Answer Correct ? | 37 Yes | 0 No |
Post New Answer View All Answers
What is runstats db2?
what is db2 restart?
What is the use of runstats in db2?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
How do I import data from excel to db2?
What are the rules for db2 programming?
How is the value function used?
What is null value in db2?
What are host variables in db2?
What is sqlca?
DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?
Give a brief description of db2 isolation levels?
what is utility for parm lib
What is a page in db2?
What language is db2 written in?