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 a cursor?

Answers were Sorted based on User's Feedback



What is a cursor?..

Answer / guest

A cursor is a programming device that is used to handle the
rows that are returned by the query as the host language
(cobol) can handle only one row at a time. its also a small
file that has the result set. The cursor has to be
declared,opened, fetched and closed to access the data
returnee by the query.

Is This Answer Correct ?    2 Yes 0 No

What is a cursor?..

Answer / vinod babu bachina

In DB2 cursor is used to fetch more than one row from a DB2
table. But cursor can fetch only one row at a time. Suppose
if ur retrieving more than one row from table , u have to
use cursor only. If u use SELECT instead of cursor then it
leads to error '' more than one row selected in select'.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More DB2 Interview Questions

What do you need to do before you do EXPLAIN ?

1 Answers  


Mention the downsides of page level lock.

0 Answers  


What techniques will be used to avoid deadlock??

5 Answers   IBM, SUN,


what's the best lock size that you could use when you create a tablespace?

2 Answers   IBM,


how can u retrieve the data from null values using applicaion program.

3 Answers   TCS,


What are the various isolation levels possible?

0 Answers  


Can any one tell me about Restart logic in DB2.

2 Answers  


Can i insert bulk records into a db2 table using qmf of spufi only............!!!

2 Answers  


What is copy book?

1 Answers   Thomson Reuters,


What is IMAGECOPY ?

6 Answers  


How many clustering indexes can be defined for a table?

2 Answers  


What is Skeleton cursor table (SKCT)?

2 Answers  


Categories