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 does db2 plan contain?
Explain various types of locks in db2?
Explain db2.
before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?
What are the bind parameters ibm db2?
Explain packages.
What is runstats db2?
How can you find out the # of rows updated after an update statement?
What is copy pending and check pending in db2?
How to take backup of table in db2?
How to execute stored procedure in db2 command editor?
What is the syntax for seeing the columns and data types of a table in the db2 database?
What is syscat in db2?
How to fetch the last row from the table in SQL (db2)?
How to create db2 table in mainframe?