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

What is executeupdate in java?

889


What is JDBC Savepoint? How to use it?

1221


Does JDBC support stored procedures?

1001


What is the return type of class.forname() method?

946


What is the purpose of the jdbc resultset interface?

914


What is connection data?

911


Where is ojdbc14 jar located?

945


What is database deadlock ? How can we avoid them?

1056


code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)

4415


What is “dirty read” in JDBC? Which isolation level prevents dirty read?

1014


What is difference between jdbc and odbc?

1012


What do you mean by metadata and why we are using it?

1025


What does the jdbc resultsetmetadata interface?

948


Is jdbc part of j2ee?

981


What are drivers available?

1029