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

I have 3 cursors declared. Cursor1 retieves some data.
Based on this curso2 will also fetches some data. In cursor3
(using for some updation) I'm using the data retrieved by
the above 2 cursor. My question is, while working with
cursor3, periodically if I give commit, will all the three
crsors will be closed or only cursor3 will be closed?

Answer Posted / srisri

COMMIT will close all the cursors, if the cursors are not
delcared using 'WITH HOLD'.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain package in db2 and its advantages?

1212


What is db2 command?

1032


Can one database have multiple instances?

1052


What does runstats do in db2?

1112


How to execute stored procedure in db2 command editor?

1047


Where do you specify them?

1275


What is plan in cobol db2?

1135


What is cascading rollback?

1209


What is a system catalog table in db2?

1184


What is the maximum size of a char data type in db2?

1010


Explain various types of locks in db2?

1140


What are the different types of base tables?

1089


What are the various data types available in db2?

1090


What is a cursor in programming?

1066


What is dclgen in db2?

1143