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

What is lazy loading and what is Generic Servlet Class?

1022


Explain web container.

977


How do cookies work in servlets?

993


What is servlet and its advantages?

992


Why HttpServlet class is declared abstract?

1127


What are advantages of servlets over cgi?

1046


What is the use of welcome-file-list?

975


What do you mean by interservlet communication?

1013


What's the advantages using servlets than using cgi?

945


What is a java servlet?

998


Difference between get and post in java servlets?

975


How do we share data using 'getservletcontext ()?

975


How do you get the ip address of the client in servlet?

948


Explain the concept of ssi ?

992


Write a program to show the functionality of doget and dopost method?

1144