In db2, how do you insert multiple rows in 1 query using a.)
Cursors, b.) Normal query?? Give syntax for both.
Answer Posted / shekhar
insert into table1
select * from table2
where cond
this query will insert multiple rows at once.
there is load utility of DB2 can help in inserting bulk data from data file.
Plz correct me if i m wrong.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is role in db2?
What is drop table?
What does db2 plan contain?
What is the advantage in De-normalizing tables in DB2?
What do you mean by storage group (stogroup)?
List out the buffer pools in db2
What is explain in db2?
Explain package in db2 and its advantages?
If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2
What is the max length of sqlca?
Explain correlated sub-queries.
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
What is multi row fetch in db2?
What is runstats utility in db2?