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

a cursor normally gets closed once we provide a commit . If
u try to close the same cursor with close cursor command
later after providing the commit will there be any sql-error.

Answer Posted / mehdee

- If you do COMMIT in your program, that means you have
UPDATE, INSERT or DELETE, which in this case you must
DECLARE CURSOR WITH HOLD, then it will not be closed after
COMMIT.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the sqlcode -501

13286


How to check sequence on a table in db2?

1110


How many types of page locks can be held in db2?

1084


What is deadlock in db2?

1114


DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?

2903


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

1132


What is the cobol picture clause of the db2 data types date, time, timestamp?

1117


What are the uses of db2 optimizer?

1344


What action db2 takes when a program aborts in the middle of a transaction?

1192


What is a storage group (stogroup)?

1283


What is ibm db2 database?

1061


What is database reorganization?

1178


How to view db2 table structure?

1058


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

11736


What is buffer pool and list some of them?

1089