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

Can we delete records from view?

952


How can the firstname and the lastname from the emp table be concatenated to generate complete names?

1258


Define sqlca.

1090


what is utility for parm lib

2348


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

1048


My sql statement select avg(salary) from emp yields inaccurate results. Why?

1076


What is a Foreign Key?

1074


Explain how can you do the explain of a dynamic sql statement?

1104


Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

3138


Can one database have multiple instances?

1033


Mention data types used in db2 ?

1140


What is the use of commit in db2?

1055


What is precompiler in db2?

995


What are the 2 sqlcodes that are returned?

1174


Explain the contents that are a part of dclgen.

1071