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

Define preparedstatement.

0 Answers  


What is the fastest type of JDBC driver?

0 Answers  


What is 2-tier and 3-tier architecture?

1 Answers   TCS,


What is JDBC Driver interface?

0 Answers  


What are the methods which can verify the cursor particular position?

0 Answers  


How to find number of records in result set?

2 Answers  


What causes the "No suitable driver" error?

0 Answers  


What are collection pools?

0 Answers  


Give an example for execution of sql statement.

0 Answers  


What causes no suitable driver error?

0 Answers  


What is the difference between ExecuteUpdate and ExecuteQuery?

1 Answers   Exilant,


Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?

0 Answers  


Categories