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

What are concurrency issues?

1029


What is the difference between spufi and qmf?

1053


For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

1054


What is sqlca?

999


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

1049


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

1114


What are the uses of db2 optimizer?

1223


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

1092


How to retrieve rows from a db2 table in embedded sql?

1326


Define buffer pool.

997


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

2098


Comment whether the cursor is closed during commit or not.

1040


What are the full forms of spufi and dclgen and why are they used?

1023


What are the benefits of using the db2 database?

1154


What is the maximum number of columns in a db2 table?

1214