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

How to find the number of rows in db2 tables?

0 Answers  


How can you count the number of rows from a table tab?

0 Answers  


i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?

0 Answers   TATA,


Suppose if I need to update a column, how you do that using cursor?

2 Answers   Verizon,


What are the disadvantages of PAGE level lock?

3 Answers  






Mention the location where the output received from explain statement is stored.

0 Answers  


How to update more then one record using update?

5 Answers   IBM,


What are the four lockable units for DB2?

1 Answers  


Plan is an executable form of sql statements,But what exactly resides inside a Plan. what are the details inside Plan.

2 Answers   IBM,


How do you insert a record with a nullable column?

2 Answers  


What information is used as input to the bind process?

2 Answers  


What is the physical storage length of timestamp data type?

0 Answers  


Categories