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

can we update the table by using cursors can anyone post
the query?

Answer Posted / diana

Yes you can update the table using cursor....
for eg: if you want to update 3 columns like A,B,C the you
can write as:

Update Table_name
Set A = :Host varaible(value)
B = :Host varaible(value)
C = :Host varaible(value)
where current of C1(Cursor name)

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is copy pending and check pending in db2?

1005


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

3157


can we view the access paths created by dbrm ? how ? thx

7101


What is precompiler in db2?

1023


What is the difference between spufi and qmf?

1134


What is clone table?

1047


What are the various data types available in db2?

1094


What is the difference between nvl and coalesce?

1065


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

1068


Explain packages.

1114


What is load replace in db2?

996


what is diffrence b/w file-aid tool and file-aid utility???

4892


What is the difference between using bind () and rebind () methods of naming class?

1401


How can the firstname and the lastname from the emp table be concatenated to generate complete names?

1278


Name the lockable units in DB2?

1128