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
What are the rules for db2 programming?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
How can you count the number of rows from a table tab?
Define declaration generator (dclgen).
what is a corelated subquerry?
What is the max length of sqlca?
Explain how can you do the explain of a dynamic sql statement?
How do you pull up a query which was previously saved in qmf?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
What are the various isolation levels possible?
List down the data types in the db2 database.
What is db2 look?
What is the physical storage length of timestamp data type?
What are union and union all?
What is bind package and plan in db2?