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 / r.l.v.krishna
COMMIT WILL CLOSE ALL THE CURSORS IF U R NOT MENTIONED WITH HOLD OPTION IN THE DECLARATION PART OF THE CURSOR....
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is db2 plan table?
what are bind concepts in db2 cobol?
What is the syntax for FETCH in DB2 ?
How do you simulate the explain of an embedded sql statement in spufi/qmf?
What is lock escalation in db2?
How does a cursor work?
What is cursor stability in db2?
How to find schema of a table in db2?
What is a db2 schema?
How to execute stored procedures?
What is sqlca?
What are iseries servers?
What is load replace in db2?
What is meant by explain?
What are the benefits of using the db2 database?