What is a cursor?

Answer Posted / vinod babu bachina

In DB2 cursor is used to fetch more than one row from a DB2
table. But cursor can fetch only one row at a time. Suppose
if ur retrieving more than one row from table , u have to
use cursor only. If u use SELECT instead of cursor then it
leads to error '' more than one row selected in select'.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the syntax for seeing the columns and data types of a table in the db2 database?

578


Can you use max on a char column?

638


What is the syntax for FETCH in DB2 ?

675


What are the bind parameters ibm db2?

624


What is database reorganization?

591






What is a system catalog table in db2?

588


What is a db2 collection?

605


What is collection in db2 bind?

577


What is dbrm? What it contains? When it will be created?

595


What is the use of predicate?

586


What is page size in db2?

563


Mention data types used in db2 ?

679


What is dbrm? When it will be created?

600


What are concurrency issues?

632


What are db2 tables?

649