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 is cursor in dbms?
What is query_cache_limit?
My sql statement select avg(salary) from emp yields inaccurate results. Why?
What parameters are used to control the free space in DB2?
What is the syntax for creating a table in the db2 database?
Are views updateable?
What is the difference between bind and rebind in db2?
What is the maximum number of columns in a db2 table?
What is a system catalog table in db2?
Why db2 is called db2?
Where do you specify them?
What is alias in db2?
How to find the maximum value in a column in the db2 database?
What is bind and rebind in db2?
What is dbrm? What it contains? When it will be created?