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
What is the directory structure of a war file?
What is the purpose of requestdispatcher interface?
What do you mean by filter in servlet?
What are the different mode that servlets can be used?
What is a server side include (ssi)
How do you find out what client machine is making a request to your servlet
What is meant by a servlet?
What is the difference between genericservlet and httpservlet
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
Explain the custom jsp tags and the beans.
How servlets are deployed in java?
What is a cookie What is the difference between session and cookie
How does tomcat servlet container work?
Is tomcat a servlet container?
What if you need to span your transaction across multiple servlet invocations?