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 MIME Type?
What are the types of servlet?
Write a simple servlet program to print the contents of html.
Is it possible to have a constructor inside the servlet?
What are the supporting protocol by HttpServlet ?
Explain how does JSP handle run-time exceptions?
What are the types of an http request?
What is a servlet engine?
What are all the ways for session tracking?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
How do I know if java is running on linux?
Why are http servlets used in programming?
How can we upload the file to the server using servlet?
What is the GenericServlet class?
What are the types of protocols supported by httpservlet ?