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 host variable?
What is sqlca’s maximum length?
Explain the contents that are a part of dclgen.
Explain about rct in db2?
How do I delete a column in db2?
What is temporal table in db2?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What is the result of open cursor statement?
Mention the different locking levels that are available in db2.
what is the sqlcode -501
What is with ur in db2?
What is db2 instance?
What is a trigger in the db2 database?
What is a db2 cursor?
How will you return the number of records in table?