Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the use of cursors?

Answers were Sorted based on User's Feedback



what is the use of cursors?..

Answer / bala

If the query inside the program retrieves only one row, there is no need to CURSOR.
If the program has to process the multiple rows that are retrieved by the query,
CURSOR is needed. Because, host variables can accommodate data from only one row at a time. By Declaring the cursor, multiple rows can be fetched one at a time and assign it to host variables for processing.

Is This Answer Correct ?    9 Yes 0 No

what is the use of cursors?..

Answer / guest

Cursors are used for providing multiple rows to process in
host language by fetching one row at a time.

Is This Answer Correct ?    7 Yes 0 No

what is the use of cursors?..

Answer / siri

it is use to retrive more than one row for an sql query return in application program....with out using cursors then it abbends with an sql code -811...

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More DB2 Interview Questions

What are the disadvantages of PAGE level lock?

3 Answers  


What are the benefits of using the db2 database?

0 Answers  


what are the bind parameters?

5 Answers   IBM,


if any of the column names is provided wrong, where do you get the error(during precompilation or during Bind)

3 Answers  


What is universal database?

0 Answers  


if i made sme changes in sub pgm wht r the things to be done for this ?

1 Answers   TCS,


What is a predicate?

1 Answers  


What will the DB2 optimizer do?

2 Answers  


Can we use select query in a loop to fetch multiple rows in a COBOL PROGRAM? If so, what is the advantage of cursor?

1 Answers   UST,


Mention the location where the output received from explain statement is stored.

0 Answers  


What is the use of runstats in db2?

0 Answers  


What is the usage of open cursor command?

0 Answers  


Categories