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 are union and union all?

935


What is the maximum length of sqlca?

1456


How to create backup table in db2?

1054


Which components manage deadlocks in db2?

1029


Who uses db2?

988


How to find the maximum value in a column in the db2 database?

1029


What is the role of data manager in the db2 database?

1060


Mention some fields that are a part of sqlca.

982


What does a deadlock mean in DB2?

1109


What is the physical storage length of the data types date, time, and timestamp?

1049


How is a typical db2 batch pgm executed?

1122


How to run db2 command in windows?

1149


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

1029


List down the data types in the db2 database.

1052


How to get the ddl of a table in db2?

1082