can we update the table by using cursors can anyone post
the query?
Answer Posted / siri
suppose we want update ename in emp table using cursor....
declare crsorname cursor for
select * from emp
where dept='d005'
for update of ename....
upate emp
set ename=:ename
where current of cursor
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2
What is database reorganization?
How do I add a column to a table in db2?
What is netezza database?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?
What is reorg and runstats in db2?
What is cascading rollback?
what is the sqlcode -501
What is the role of union all and union
What do you mean by rollback?
What do you mean by between and in? Is between inclusive of specified range values?
What is explain in db2?
What is the difference between plan and package in db2?
How do I import data from excel to db2?