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

executeUpdate() --is used for executing non-select
statements

executeQuery() - is used for executing select statements

The above two are valid in SQLServer
Note: but i think in case of Oracle executequery()may also
accept non-select statements

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you send an authentication error from a servlet?

1022


When jsessionid is created?

1098


Name the different ways of session tracking.

1077


How to read request headers from servlets?

1091


Why do you use session tracking in httpservlet?

1187


What do you mean by servlet?

1191


What is the disadvantage of cookies?

1033


Can you explain in detail 'javax.servlet' package?

1039


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

1051


Explain the difference between servlet and cgi?

1209


What are the important functions of filters?

1198


How do you configure a centralized error handler in servlets?

1148


What do you mean by singlethreadmodel interface?

1091


Explain url encoding?

1031


Explain jsessionid and when is it created?

1181