Can we use select query in a loop to fetch multiple rows in
a COBOL PROGRAM? If so, what is the advantage of cursor?
Answer Posted / hitendra valluri
As per my knowledge if we loop the select query it retrieves the same data untill we explicitly handle the where clause to retrieve the rows. Unlike select CURSOR fetches all the rows and allows the program to process 1 at a time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are concurrency issues?
Which component is responsible for db2 startup and shutdown?
What is node in db2?
How does a cursor work?
What is the use of reorg in db2?
What is the physical storage length of date data type?
What are the contents of a dclmgen?
What is database manager in db2?
What is load utility in db2?
What is db2 stogroup?
How to check last update on table in db2?
Can you use max on a char column?
What is bind plan?
What are iseries servers?
How to find the number of rows in a db2 table?