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 release/acquire in bind?

1163


How and when does the db2 enforces the unique key?

1143


Which is faster delete or truncate?

1177


What is buffer pool and list some of them?

1096


What is null value in db2?

1077


What is db2 bind process?

1292


Can one database have multiple instances?

1097


What is ibm db2 client?

1007


What is the use of commit in db2?

1144


What is the difference between drop table and delete table?

1288


What are iseries servers?

1132


What is deadlock in db2?

1122


what is the responsibility of the construction superintendent

2211


define clustering index.

1070


What is declare cursor?

1169