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 db2 look?

1018


What are the uses of db2 optimizer?

1290


Explain about rct in db2?

1101


How do I add a column to a table in db2?

1100


What is the meaning concurrency in the db2 database?

1108


Explain what are the various isolation levels possible?

1041


What is db2 connect?

1063


Can there be more than one cursor open for any program?

1165


What is phantom read in db2?

1151


How to check sequence on a table in db2?

1053


What is the use of value function?

1145


What is view db2?

1063


What is the maximum length of sqlca?

1519


Explain packages.

1107


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

1144