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
Which isolation level provides maximum concurrency?
Explain the benefits you can get from mainframe connect?
How to execute stored procedures?
Define check constraint.
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
Explain dclgen.
What is bind in db2?
what is the sqlcode -501
B37 abend during spufi?
What is sqlca’s maximum length?
What is host variable in db2 cobol?
What is meant by dclgen?
Can we insert update delete in view?
What is an instance in db2?
Explain in brief how does db2 determine what lock-size to use?