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
How can the firstname and the lastname from the emp table be concatenated to generate complete names?
what is the responsibility of the construction superintendent
What is a bind in db2?
Is db2 a mainframe database?
What is the maximum size of a char data type in db2?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
What is plan in cobol db2?
what is utility for parm lib
What are iseries servers?
Mention the location where the output received from explain statement is stored.
What is a db2 cursor?
Explain in brief how does db2 determine what lock-size to use?
What is the syntax for creating a table in the db2 database?
What is netezza database?
How to retrieve rows from a db2 table in embedded sql?