I have 1000 rows in a db2 table.I want to update first 100
records,How do I do it?
Answer Posted / brooks
is there identity column in this table, for example, if
there is a column indexnum int(supposed start from 1), you
can use the Update Table Set XXX=XXX where indexnum < 101
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
What is a trigger in the db2 database?
How do you find the maximum value in a column in db2?
What is the usage of open cursor command?
What is release/acquire in bind?
What is package in cobol db2?
What is declare cursor?
What is check constraint. Explain with example.
How will you return the number of records in table?
Define predicate?
What is the use of runstats in db2?
What is meant by dclgen?
What are union and union all?
Is ibm db2 open source?
Which command is used to remove all rows from a table?