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

When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

3520


How can we retrieve the total number of records in RPG & CLLE?

577


How do I import data from excel to db2?

1011


What is dbrm? When it will be created?

957


What is dbrm? What it contains? When it will be created?

992


How can you classify the locks in db2?

1032


Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

3090


What is plan in cobol db2?

1060


How do you select a row using indexes in db2?

1073


How to execute stored procedure in db2 command editor?

984


Which component is used to execute the sql statements?

1053


What is null value in db2?

950


Explain about rct.

1025


What are the uses of db2 optimizer?

1223


How do I change the column size in db2?

1083