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 alias in db2?
What's The Error Code For Unique Index Voilation?
How do you pull up a query which was previously saved in qmf?
Mention the downsides of page level lock.
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
What is the difference between db2 and oracle?
What is coalesce in db2?
What is the purpose of rollback and commit?
How many databases are there?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
Explain the contention situations caused by locks?
What is sqlca’s maximum length?
What is concurrency?
What does db2 plan contain?