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 is a plan and how do you refer the plan in the program?

2 Answers   Xansa,


i know the stpes 2 create an executable CICS/DB2 cobol code. 1. DB2 Precompiler converts the SQL Statements into COBOL API statements and creates another member with Acess plans. CodeA results in CodeB (code with API calls) & CodeC ( Access Plans ) 2.Code B is compiled/linked 2 create an exceutable.(codeE) 3.Now CodeC is binded to the database on which CodeE will be run. Can somebody provide me the sample JCLs for precompile/compile/link/bind.

0 Answers  


What techniques will be used to avoid deadlock??

5 Answers   IBM, SUN,


When will you chose to run RUNSTATS?

1 Answers  


What is the difference between group by and order by?

2 Answers   IBM, TCS,


What are the disadvantages of PAGE level lock?

3 Answers  


What is meant by explain?

0 Answers  


Can DASD types assigned to storage groups be intermixed (i.e., 3350s and 3380s)?

1 Answers  


What will the DB2 optimizer do?

2 Answers  


What techniques are used to retrieve data from more than one table in a single SQL statement?

2 Answers  


When reorg is used?

0 Answers  


in my table i will update only 100 record among 1000 records i need to display recently updated record'.....can u tell me where those records are stored how can i display those records...?if there is any sql query pls let me know....?

3 Answers   Infosys,


Categories