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 the maximum size of varchar data type in db2?

825


What is bind in db2?

772


Explain db2.

795


Which command is used to connect to a database in DB2 ? Give the Syntax.

807


Which is faster delete or truncate?

859






What is a system catalog table in db2?

799


What happens in bind step in a db2 program?

713


What is ibm db2 client?

670


What are the benefits of using the db2 database?

862


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

755


What is load utility in db2?

852


What is the role of schema in the db2 database?

888


What is netezza database?

756


Explain the contention situations caused by locks?

776


What is the use of runstats in db2?

768