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 difference between normal select query and
currosor

Answers were Sorted based on User's Feedback



what is the difference between normal select query and currosor..

Answer / jagan

using select in embedded sql with where clause should fetch
only one row , but cursor can be used when we need more rows
to be retrieved one at a time.

In case more than one row is retrieved in a select clause it
will throw -811 sql error.

Is This Answer Correct ?    28 Yes 5 No

what is the difference between normal select query and currosor..

Answer / vinay srivastava

Normal select Query fetches all rows in one go while cursor
fetches one row at a time.

Is This Answer Correct ?    10 Yes 17 No

Post New Answer

More DB2 Interview Questions

Can you tell me how can you find out the # of rows updated after an update statement?

0 Answers  


Compare a subselect to a join?

1 Answers  


Explain in detail about buffer manager and its functionalities?

0 Answers  


What is meant by dclgen?

0 Answers  


What os does db2 run on?

0 Answers  


wht r the requirements for writing a cobol-db2 pgm ?

4 Answers   IBM,


How can you quickly find out the number of rows updated after an update statement?

1 Answers   CSI, CTS,


What is ibm db2 database?

0 Answers  


What is the STOSPACE Utility used for?

1 Answers  


what is the maximum number of tables that can be joined ?

8 Answers   IBM, TCS,


What is db2?

0 Answers  


can we drop column from a table

7 Answers   INDUS,


Categories