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 / 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


Please Help Members By Posting Answers For Below Questions

Explain various types of locks in db2?

1096


What does runstats do in db2?

1036


What is blu acceleration in db2?

1022


Is ibm db2 open source?

1027


What is page size in db2?

916


Define data page.

1021


Is ibm db2 free?

960


What is cascading rollback?

1142


Define check constraint.

1035


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

1057


Can one database have multiple instances?

1016


What is the difference between bind and rebind in db2?

1404


List some fields from sqlca?

1009


what is the responsibility of the construction superintendent

2090


What is data manager?

1002