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
Is it possible to have a constructor inside the servlet?
What is servlet in web technology?
What are all the ways for session tracking?
Explain the methods of request dispatcher in servlet?
How is an application exception handling is done using a servlet?
Define declaration.
What are some disadvantages of storing session state in cookies?
What is the difference between Server and Container?
What is the servletconfig object?
What are the steps that are involved in using the httpservlet class?
Why do we have servlet filters?
When jsessionid is created?
How do you design microservices?
Whether we can get deadlock situation in servlets?
What is servlet container. how it works?