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
Explain jsessionid and when is it created?
What are the common methods that are included in the http servlet class?
Explain jsessionid?
What are the benefits of using servlet over cgi?
What is the major difference between servlet and applet?
What are the new features added to servlet 2.5?
What are the different ways we can maintain state between requests?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What does the term localization refer to?
Why is a constructor needed in a servlet even if we use the init method?
What are the kinds of http requests?
What is ServletContext object?
What is the difference between CGI and Servlet?
How can an existing session be invalidated?
Servlet is pure java object or not?