Can you use a select query in a loop to fetch multiple rows?
If so what is the advantage of using a cursor?

Answer Posted / satheesh reddi

no...for that we are using cursors. due to cursors we can retrieve or fetch number of rows at a time from the table

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dbrm in db2 database?

591


B37 abend during spufi?

982


What is the cobol picture clause of the db2 data types date, time, timestamp?

619


What is a db2 package?

599


What is check constraint in db2?

609






What is innodb buffer pool?

564


Why do chiropractors use drop table?

662


What is difference between alias and synonym in db2?

645


What r the comman abends in db2, jcl and cobol???????

1820


What is db2 bind process?

758


What is the use of runstats in db2?

578


How to find the number of rows in db2 tables?

617


what is the sqlcode -501

11308


What is nvl in db2?

628


What is a db2 cursor?

626