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...

Cursors can be declared in both working-storage & procedure
division, Agreed.
But is there any difference? If could you please suggest
what is the difference.
TIA

Answer Posted / ns

There is no difference. But it is always better to declare
Cursor in Working-Storage Section because you will not code
Open Cursor before Declare Cursor by mistake. It is just a
standard to declare Cursor in WSS. As best practice to
avoid oversight.

Is This Answer Correct ?    28 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the sqlcode -501

12908


Describe major components of db2?

1039


What is the function of logging in the db2 database?

1066


How can we retrieve the total number of records in RPG & CLLE?

577


What is copy pending and check pending in db2?

949


What is nvl in db2?

1038


How can tablespace be moved to another dasd volume that is allocated for that tablespace?

1180


How to execute stored procedure in db2 command editor?

983


What is query_cache_limit?

927


What is a db2 collection?

981


What is the information associated with sysibm.syslinks table?

1055


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

2166


i want to maintain uniqueness on pdf without make lf??????????

2097


What is db2 connect?

1006


What is a Foreign Key?

1034