Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In db2, how do you insert multiple rows in 1 query using a.)
Cursors, b.) Normal query?? Give syntax for both.

Answer Posted / siri

insert into tableName
(col1, col2, col3, col4, col5)
values
(val1, val2, val3, val4, val5),
(val1, val2, val3, val4, val5),
(val1, val2, val3, val4, val5),
(val1, val2, val3, val4, val5);

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

1029


How is the value function used?

1101


Explain the benefits you can get from mainframe connect?

930


How do I copy a table in db2?

968


What is the difference between plan and package in db2?

1061


What is phantom read in db2?

1098


How do I optimize a query in db2?

1055


Define check constraint.

1046


What is database manager in db2?

980


What is null indicator in cobol db2?

1010


What are the various data types available in db2?

1037


What is the cobol picture clause of the db2 data types date, time, timestamp?

1032


What is innodb buffer pool?

1007


What is the use of reorg in db2?

1052


What is db2 connect?

1027