What is the difference between ExecuteUpdate and
ExecuteQuery?

Answer Posted / vishnuvardhan

ExecuteUpdate method will return integer value.
ExecuteQuery method will return ResultSet value.

Is This Answer Correct ?    45 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by mime type?

790


What are the key methods that are involved in processing of http servlets?

866


What is the default http method in the servlet?

1015


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

763


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

801


Define the life cycle of a servlets.

792


What are the life cycle methods of a servlet?

780


What do you mean by cgi and what are its drawbacks?

725


Why do we have servlet filters?

789


What is called servlet container?

840


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2454


Which is better jsp or servlet?

765


What is meant by Servlet? What are the parameters of service method?

805


Explain get and post.

864


How can you create a session in servlet?

823