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 resultsetmetadata?

0 Answers  


When you will get error like ?No suitable driver??

2 Answers  


How are jdbc statements used?

0 Answers  


How to execute bulk number of queries at once?

3 Answers   Wipro,


please tell me the name and url path for type-4 driver ?

1 Answers  


Explain about multiple implementations and drive manager?

0 Answers  


What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?

0 Answers  


How can you retrieve data from the resultset using jdbc?

0 Answers  


Explain the sequence of steps to connect to the database?

3 Answers   Wipro,


How can I write to the log used by DriverManager and JDBC drivers?

0 Answers  


What is jdbc odbc?

0 Answers  


What are collection pools?

0 Answers  


Categories