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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is oracle client required for jdbc connection?

927


What is the difference between jdbc and odbc?

943


How can I get or redirect the log used by DriverManager and JDBC drivers?

893


What is new in JDBC 2.0?

964


What are the new features added to JDBC 4.0?

913


What is odbc and jdbc drivers?

908


Why prepared statements are faster?

901


What is java soft framework?

945


How are jdbc statements used?

896


What is jdbc explain?

864


Why is jdbc needed?

865


What do you understand by DDL and DML statements?

877


Explain the JDBC Architecture?

970


What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?

939


What is data source in java?

903