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
My sql statement select avg(salary) from emp yields inaccurate results. Why?
What is cursor in dbms?
What is a db2 schema?
How connect db2 database to datastage?
Explain in detail about buffer manager and its functionalities?
What is drop table?
Comment whether the cursor is closed during commit or not.
What is runstats and reorg in db2?
Is ibm db2 open source?
Explain about rct in db2?
Explain the benefits you can get from mainframe connect?
What is the maximum size of a char data type in db2?
Can you use max on a char column?
What is dbrm? What it contains?
What are the different types of base tables?