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
i want to maintain uniqueness on pdf without make lf??????????
Explain correlated sub-queries.
What is database reorganization?
What is the difference between oracle and db2?
What is a bind card?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
what is a corelated subquerry?
What is dbrm? What it contains? When it will be created?
What is the picture clause of null indicator variable?
Is ibm db2 free?
What is db2 bind process?
How would you find out the total number of rows in a db2 table?
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
List out the three types of page locks that can be held.
I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.