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 declaring the cursor in WS
section and Procedure division?

Answer Posted / madhavi chava

As definition of cursor is non executable statement, it is
advisable not to define in procedure division as it may
misunderstood others.

we can define it any where only thing you have to take care
is definition of cursor should be prior to the OPEN
statement of the same cursor.

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a dbrm in db2?

1020


Is db2 a database?

972


What are host variables in db2?

1072


How will you return the number of records in table?

937


Why cursor is used in db2?

1036


How to get the ddl of a table in db2?

1131


What is db2 bind process?

1240


Before you give the explain statement, what are the prerogatives?

1040


How would the varchar column remarks defined?

1088


Are views updateable?

1160


Explain the benefits you can get from mainframe connect?

972


Explain in brief how does db2 determine what lock-size to use?

1045


What is difference between alias and synonym in db2?

1143


Discuss about db2 bind?

1097


Is db2 free?

1094