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

What do you mean by commit and rollback?

0 Answers  


What is Skeleton cursor table (SKCT)?

2 Answers  


What is the default page size of buffer pools?

0 Answers  


What is correlated subquery?

1 Answers  


What are the functions of Bind?

2 Answers   Amdocs, IBM,


I am getting a error multiple row fetched while executing a Cobol-DB2 program.How can I solve it without using a cursor.

8 Answers  


How can you find out the # of rows updated after an update statement?

0 Answers  


Is it possible using max on a char column?

0 Answers  


Mention data types used in db2 ?

0 Answers  


What information is contained in a SYSCOPY entry?

2 Answers  


What is the difference between db2 and oracle?

0 Answers  


Can we use group-by clause in sub-query? If 'yes' means,Will it be executed successfully or else If 'no' means why should we not using that method? Give me your suggestion please....

1 Answers  


Categories