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 universal database?

1029


Which components manage deadlocks in db2?

1016


Is db2 a database?

911


What is the difference between cursor stability and repeatable read isolation levels?

1114


What does runstats do in db2?

1023


What are the benefits of using the db2 database?

1154


Can you tell me how can you find out the # of rows updated after an update statement?

1044


What are the uses of db2 optimizer?

1223


What is syscat in db2?

950


What types of tables are there in the db2 database?

1005


What are the contents of dclgen?

1053


What is innodb buffer pool?

977


How would the varchar column remarks defined?

1036


What is bufferpool in db2?

984


What is performance tuning db2?

1007