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

What is the significance of the CURSOR WITH HOLD clause in
a cursor declaration?

Answer Posted / yogendra shinde

Hi,
CURSOR with WITHOLD is very useful where we need to use
more than 1 database simultaneously.
Suppose you are reading or fetching a value from local
database and updating those retrieved values in a remote
DB. In such case when you connect to remote DB, you need to
use WITHOLD for local db. So that you don't loose the
cursor position for local db.

For further ref. do read more about CONNECT.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between bind and rebind in db2?

1428


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

1171


What is a buffer in memory?

1043


What is dclgen in db2?

1114


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

3140


Explain correlated sub-queries.

1010


How is the value function used?

1136


How to rename a table in DB2 ?

1075


What is the use of value function?

1128


What is coalesce in db2?

1107


How does a cursor work?

960


What is drop table?

999


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

995


How is a typical db2 batch pgm executed?

1158


What is dbrm? What it contains?

1149