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 an instance database?
What is performance tuning db2?
Explain db2.
How to rename a table in DB2 ?
How can record locking be achieved in those DB2 versions which do not support it?
List down the data types in the db2 database.
What is dpf in db2?
How can you count the number of rows from a table tab?
What is declare cursor?
can all users have the privilage to use the sql statement select * (dml)?
What do you mean by commit and rollback?
How does coalesce work?
What is ibm db2 used for?
What is db2 instance?
Why cursor is used in db2?