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 lazy loading and what is Generic Servlet Class?
Explain web container.
How do cookies work in servlets?
What is servlet and its advantages?
Why HttpServlet class is declared abstract?
What are advantages of servlets over cgi?
What is the use of welcome-file-list?
What do you mean by interservlet communication?
What's the advantages using servlets than using cgi?
What is a java servlet?
Difference between get and post in java servlets?
How do we share data using 'getservletcontext ()?
How do you get the ip address of the client in servlet?
Explain the concept of ssi ?
Write a program to show the functionality of doget and dopost method?