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 difference between alias and synonym in db2?

726


What is the difference between drop table and delete table?

653


Why do we need reorg in db2?

642


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

718


Define declaration generator (dclgen).

760






What is the difference between bind and rebind in db2?

1003


What parameters are used to control the free space in DB2?

726


What is cascading rollback?

712


What is null in db2?

653


What is the difference between cursor stability and repeatable read isolation levels?

777


What is the difference between cursor and select statement?

714


Which command is used to remove all rows from a table?

650


Differentiate between cs and rr isolation levels? Where do you specify them?

671


Mention the definition of cobol in varchar field.

776


What is cloudant database?

718