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’s the use of the servlet wrapper classes??
What are the phases of the servlet life cycle?
What is the difference between encodeRedirectUrl and encodeURL?
What are the two important api's in for servlets?
What is the use of welcome-file-list?
What exactly are the functions of servlet?
Explain the differences between jsp and servlet.
How can we implement a jsp page?
What is cookies in servlet with example?
What is the major difference between context parameter and context attribute?
What are the exceptions thrown by servlets? Why?
What is httpservlet class?
What is servlet and how it works?
Describe servlet?
Who is responsible for writing a constructor?