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’s the use of the servlet wrapper classes??

1155


What are the phases of the servlet life cycle?

1185


What is the difference between encodeRedirectUrl and encodeURL?

1166


What are the two important api's in for servlets?

1137


What is the use of welcome-file-list?

1074


What exactly are the functions of servlet?

1161


Explain the differences between jsp and servlet.

1047


How can we implement a jsp page?

1200


What is cookies in servlet with example?

1227


What is the major difference between context parameter and context attribute?

1165


What are the exceptions thrown by servlets? Why?

1246


What is httpservlet class?

1228


What is servlet and how it works?

1043


Describe servlet?

1095


Who is responsible for writing a constructor?

1310