suppose in my table 10 rows are there , i want to update odd
rows salary as 90000 ? how u do it ? any one help me ? what
do we use here cursor-fetch or normal sql ?
Answer Posted / pandu
Hi Krishna, Actually your answer is ok but i have a small
doubt "he want to update odd rows salary as 9000" but in ur
answer i didn't find the odd rows.how will you divide that
table in odd rows and even rows? kindly tell me.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is clone table?
How to resolve deadlock issue
What is cursor in dbms?
What is the difference between bind and rebind in db2?
How to execute stored procedures?
What is the syntax for creating a table in the db2 database?
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
What are union and union all?
How do you simulate the explain of an embedded sql statement in spufi/qmf?
what is db2 restart?
Why do we need reorg in db2?
Is db2 a programming language?
What are the bind parameters ibm db2?
What is a collection in db2?
What is the role of union all and union