Suppose if I need to update a column, how you do that using
cursor?
Answer Posted / sandy
EXEC SQL DECLARE X CURSOR FOR
SELECT * FROM ABC
FOR UPDATE OF <COLUMN> ==>If we know the column we would
like to update.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What happens in bind step in a db2 program?
What are bind parameters in db2?
What is db2 purescale?
What is bind package and plan in db2?
Why do chiropractors use drop table?
What is explain in db2?
What is dbrm in db2 database?
What is meant by dclgen?
Outputs of explain are with matchcols = 0. What does this signify?
What is a plan and package in db2?
What is difference between rollback and commit?
How do I import a csv file into db2?
Is db2 a mainframe?
What is meant by union and union all?
What is rebind in db2?