Hi , I am posting some interview ques .

what is the use of cursors ? what is the diff between
select and cursor ? bith are used for data retrival ..
rite?

Answer Posted / yuvaevergreen

>>Cursors are memory structures used to handle multiple
rows at a time.
>>Though,select statement can fetch only multiple rows, we
cannot handle multiple rows using host variables.
Basic difference would be single row handling and multiple
rows handling.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is explain in db2?

576


What is the purpose of using commit?

604


Name the lockable units in DB2?

651


Mention the downsides of page level lock.

694


What are the contents of dclgen?

639






What is blu acceleration in db2?

590


What is a page in db2?

596


What are host variables in db2?

609


What is the connection string to connect to the DB2 Database ?

603


When reorg is used?

661


Explain the contents that are a part of dclgen.

646


How to fetch the last row from the table in SQL (db2)?

1021


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

599


Before you give the explain statement, what are the prerogatives?

567


How many databases can be created inside an instance in db2 ?

587