Suppose if I need to update a column, how you do that using
cursor?
Answer Posted / bobby
continuation of previous answer,
after cursor declaration, open the cursor and fetch the cursor. When the condition for update is satisified isue EXEC SQL UPDATE CURRENT OF.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Which component is responsible for db2 startup and shutdown?
How do I add a column to an existing table in db2?
What is cursor stability in db2?
What is the use of commit in db2?
What is null indicator in cobol db2?
What is runstats utility in db2?
What is meant by explain?
What is rct?
Explain about rct.
What is the use of reorg in db2?
Explain the benefits you can get from mainframe connect?
How to find the number of rows in a db2 table?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
How do I delete a column in db2?
How to take backup of table in db2?