I have 1000 rows in a db2 table.I want to update first 100
records,How do I do it?
Answer Posted / rama krishna.
UPDATE DB2 SET COL=VAR/EXPR WHERE ROWNUM<=1OO;
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What is ibm db2 used for?
What is the difference between cursor and select statement?
How many databases can be created inside an instance in db2 ?
What is a storage group (stogroup)?
Give the name of some fields form sqlca.
In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?
Can there be more than one cursor open for any program?
Comment whether the cursor is closed during commit or not.
What is the meaning concurrency in the db2 database?
How do I delete a column in db2?
What is db2 purescale?
What do you mean by commit and rollback?
Name the lockable units in DB2?
What parameters are used to control the free space in DB2?
what is the role of the cursor in db2?