How do you leave the cursor open after issuing a COMMIT?
(for DB2 2.3 or above only)

Answers were Sorted based on User's Feedback



How do you leave the cursor open after issuing a COMMIT? (for DB2 2.3 or above only)..

Answer / a.roselin

CURSOR WITH HOLD Option

Is This Answer Correct ?    4 Yes 0 No

How do you leave the cursor open after issuing a COMMIT? (for DB2 2.3 or above only)..

Answer / s

If you like the cursor maintain the position even after the
commit, CURSOR is defined WITH HOLD.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is dbrm library?

0 Answers  


What is a PLAN table? How will you use it? Give the various fields of PLAN table?

1 Answers   Accenture,


what is copy pending and check pending ?

1 Answers   Xansa,


How does DB2 use multiple table indexes?

1 Answers  


Parm value passed is PARM=(10,20). how do code linkage section and how would you add these two passes values and show result in cobol program.

3 Answers   IBM,






What is the function of logging in the db2 database?

0 Answers  


What is the difference between drop table and delete table?

0 Answers  


Is db2 a programming language?

0 Answers  


What is host variable in db2 cobol?

0 Answers  


what is consistency token

3 Answers  


a cursor normally gets closed once we provide a commit . If u try to close the same cursor with close cursor command later after providing the commit will there be any sql-error.

3 Answers  


List some fields from sqlca?

0 Answers  


Categories