What is a cursor and what is its function?

Answers were Sorted based on User's Feedback



What is a cursor and what is its function?..

Answer / s

Cursor is used by DB2 to fetch qualified rows one row at a
time to the application program.

Is This Answer Correct ?    2 Yes 0 No

What is a cursor and what is its function?..

Answer / harsha

cursor is used to retrive multiple rows.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

What do you mean by between and in? Is between inclusive of specified range values?

0 Answers  


Can you tell me how can you find out the # of rows updated after an update statement?

0 Answers  


What is the function of logging in the db2 database?

0 Answers  


What is a collection?

3 Answers  


What is load utility in db2?

0 Answers  






How would you find out the total number of rows in a db2 table?

0 Answers  


How do you retrieve the first 5 characters of firstname column of db2 table emp?

1 Answers  


What is the difference between bind and rebind in db2?

0 Answers  


What is isolation level?

4 Answers  


How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?

2 Answers   IBM, Tech Mahindra,


Define buffer pool.

0 Answers  


How do I create a table MANAGER (EMP-NO, MANAGER) where MANAGER is a foreign key which references to EMP-NO in the same table? Give the exact DDL.

3 Answers  


Categories