How to update more then one record using update?
Answer Posted / guna
UPDATE table1 set columnname = (SELECT columnname from
table2 where some condition)
You can also use EXISTS instead of '=' for updating
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is null indicator in db2?
Are views updateable?
Mention some fields that are a part of sqlca.
Which is faster delete or truncate?
Is db2 free?
What is explain in db2?
What is dclgen (declaration generator)?
How many types of page locks can be held in db2?
How do I connect my db2 database to ibm?
What is the difference between plan and package in db2?
What is db2 connect?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
Describe major components of db2?
Where do you specify them?
Is db2 a database?