What happens to a cursor after a commit?

Answers were Sorted based on User's Feedback



What happens to a cursor after a commit?..

Answer / angoca

The commit will close the cursor if this last was not
declared with the 'with hold' option.

Is This Answer Correct ?    14 Yes 0 No

What happens to a cursor after a commit?..

Answer / guest

The commit will close the cursor.

Is This Answer Correct ?    10 Yes 2 No

What happens to a cursor after a commit?..

Answer / azharuddinsyed

If the cursor is defined with "WITH HOLD" option, it will NOT closed even after the commit operation, else cursor will be closed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

Is db2 a mainframe database?

0 Answers  


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

0 Answers  


What do you do to keep the cursor from closing after a commit?

1 Answers  


What Utility is used to migrate DB2 from one release to the next?

1 Answers  


What is tablespace?

3 Answers  






What does db2 mean?

0 Answers  


Can SQL statements/queries be included in a copybook?

2 Answers  


How to define the data items to receive the fetch items for the SQL?

2 Answers  


What is the COBOL picture clause for a DB2 column defined as DECIMAL(11,2)?

5 Answers   Emsang,


what is db2 restart?

0 Answers  


What is dpf in db2?

0 Answers  


what is the difference between join and union?

4 Answers   IBM,


Categories