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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are catalog tables in db2?

1031


What is null value in db2?

1003


What is schema in db2?

1006


What is host variable?

1036


How does db2 sample database connect?

1012


What is a collection in db2?

1018


What is page size in db2?

958


What is precompiler in db2?

996


What is db2 and what is the use of db2 optimizer?

1032


What is meant by dclgen?

1093


How do I add a column in db2?

1029


What is the use of with ur in db2?

1033


What is buffer pool in the db2 database?

1080


Is it possible to create an Instance in DB2 using DB2 Control Center ?

1083


What types of tables are there in the db2 database?

1036