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

How do you stop a db2 database in linux?

1056


Define db2.

1171


What is the function of logging in the db2 database?

1172


How do you pull up a query which was previously saved in qmf?

1204


List out the buffer pools in db2

1128


What is the role of schema in the db2 database?

1360


What is the meaning concurrency in the db2 database?

1167


List down the data types in the db2 database.

1181


How is the value function used?

1208


Explain the benefits you can get from mainframe connect?

1015


Is db2 relational database?

1044


What is the use of reorg in db2?

1137


What is meant by union and union all?

1051


Mention the various locks that are available in db2.

1085


What is view db2?

1131