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 / anji

executeUpdate() - is used to update or modify the table, it
will returns howmany rows added/updated in the table.

executeQuery() - is used to retrieve the data from the
table. only for "select" query, this will return a
Resultset metadata

Is This Answer Correct ?    42 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain web application directory arrangement?

1139


What are Servlets?

1180


What do you mean by httpservlet?

1129


What do you mean by servlet?

1192


What do you mean by mime type?

1011


What exception should be thrown when servlet is not properly initialized?

1056


How is the get () method different from the post() method?

1035


What are the new features added to servlet 2.5?

1153


What is servlet attributes and their scope?

1100


What is a server side include (ssi)

1232


What are the common methods that are included in the http servlet class?

1082


How native code can be used in a servlet?

4115


How to get the current httpsession object?

1169


What is called a session?

1224


How can I send user authentication information while making URL Connection?

1051