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


How to execute bulk number of queries at once?

Answers were Sorted based on User's Feedback



How to execute bulk number of queries at once?..

Answer / kalyan

we can update multiple statements using batch as follows

statemenent st = getconnection().getStatement();
st.addBatch(sql stat1);
st.addBatch(sql stat2) ;

....

st.executeBatch();

Is This Answer Correct ?    7 Yes 0 No

How to execute bulk number of queries at once?..

Answer / guest

through batch update.

Is This Answer Correct ?    5 Yes 0 No

How to execute bulk number of queries at once?..

Answer / salil kumar

To execute bulk number of queries at once genally we are
using store procedure i.e. CallableStatement. Through store
procedure we can execute bulk number of queries at once to
the differnt-differnt table also.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JDBC Interview Questions

What is the equivalent method for precompiled SQL Statement in JDBC?

1 Answers  


Explain the necessary steps to connect to the database in java?

0 Answers  


What is jdbc odbc driver?

0 Answers  


What are the factors that the jdbc driver performance depends upon?

0 Answers  


Why “no suitable driver” error occurs?

0 Answers  


What is jdbc in dbms?

0 Answers  


What is jdbc architecture?

0 Answers  


What is the difference between setmaxrows(int) and setfetchsize(int)?

0 Answers  


Is jdbc part of j2ee?

0 Answers  


Why is odbc needed?

0 Answers  


Where can I find info, frameworks and example source for writing a JDBC driver?

0 Answers  


What are restrictions on triggers?

0 Answers  


Categories