what is the syntax for FOR UPDATE CLAUSE in cursor
declaration and how can u update using cursor? is it
possible to update multiple rows at a time.

Answer Posted / vaneesh khurana

If one wants to update multiple rows simply write a querry,
instead of using cursor.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is universal database?

827


What is difference between rollback and commit?

869


What is runstats utility in db2?

759


What is db2 connect?

787


What is the purpose of using commit?

823


Can we insert update delete in view?

750


What is the syntax for FETCH in DB2 ?

907


Why db2 is called db2?

764


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

2104


List some fields from sqlca?

799


How can tablespace be moved to another dasd volume that is allocated for that tablespace?

966


How can you do the explain of a dynamic sql statement?

819


what is utility for parm lib

2098


What is access path in db2?

729


How many databases can be created inside an instance in db2 ?

808