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 sqlca?
What is blu acceleration in db2?
What is bind and rebind in db2?
What are the contents of dclgen?
What is a system catalog table in db2?
Explain about cursor stability?
i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?
What is buffer pool?
If I have a view which is a join of two or more tables, can this view be updateable?
Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference
How to execute stored procedure in db2 command editor?
What is the clustering index in the db2 database?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is deadlock in db2?
Give the name of some fields form sqlca.