I have 1000 rows in a db2 table.I want to update first 100
records,How do I do it?
Answer Posted / sireesha
SELECT * FROM TABLE WHERE COUNT(*) = 100;
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
What is host variable?
List some fields from sqlca?
How to get the ddl of a table in db2?
Where can you declare a cursor in a cobol-db2 program?
What is the difference between using bind () and rebind () methods of naming class?
How do I import data from excel to db2?
What is bind and rebind in db2?
What is reorg and runstats in db2?
Mention data types used in db2 ?
What is dclgen in db2?
What is check constraint in db2?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is dbrm? What it contains? When it will be created?
What is runstats db2?
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?