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
Can you send an authentication error from a servlet?
When jsessionid is created?
Name the different ways of session tracking.
How to read request headers from servlets?
Why do you use session tracking in httpservlet?
What do you mean by servlet?
What is the disadvantage of cookies?
Can you explain in detail 'javax.servlet' package?
How can I send user authentication information while making URL Connection?
Explain the difference between servlet and cgi?
What are the important functions of filters?
How do you configure a centralized error handler in servlets?
What do you mean by singlethreadmodel interface?
Explain url encoding?
Explain jsessionid and when is it created?