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


What is the difference between ExecuteUpdate and
ExecuteQuery?



What is the difference between ExecuteUpdate and ExecuteQuery?..

Answer / p.l.n.kumar

ExecuteUpdate is used to execute Insert,Update and
Delete... statements.it's return type is 'int' .

ExecuteQuery is used to execute Select.... statements.It's
return type is 'Resultset' object.

Is This Answer Correct ?    45 Yes 8 No

Post New Answer

More JDBC Interview Questions

What types of DataSource objects are specified in the Optional Package?

0 Answers  


Can we use the one instance of Statment to execute more than one query ?

2 Answers   TCS,


How to handle when the database crashes while reading the data from the database?

2 Answers   IBM,


What are the differences between statement and preparedstatement interface?

0 Answers  


What are the steps to connect to a database in java?

0 Answers  


Differentiate between a statement and a preparedstatement.

0 Answers  


What is jdbc and jdbc drivers?

0 Answers  


What do you mean by odbc?

0 Answers  


What type of driver called is pure Java driver?

3 Answers   Vertex,


How do I find jdbc version?

0 Answers  


Explain the steps in writing a java program using jdbc?

0 Answers  


what happen if we set JDBC string to NULL?

0 Answers   Sapient,


Categories