In db2, how do you insert multiple rows in 1 query using a.)
Cursors, b.) Normal query?? Give syntax for both.
Answer Posted / vaibhav
We can insert by using the following command:-
Insert into tablename
(col1,col2,col3,....)
values(&emp-no, '&emp-name', .....)
Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What is the clustering index in the db2 database?
What do you mean by storage group (stogroup)?
What is declare cursor?
How to find the number of rows in a db2 table?
what is a corelated subquerry?
Define sqlca.
can we view the access paths created by dbrm ? how ? thx
Can one database have multiple instances?
How to find the number of rows in db2 tables?
If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?
Is ibm db2 free?
Define declaration generator (dclgen).
What is a db2 collection?
How to take backup of table in db2?
What is the difference between nvl and coalesce?