What is the difference between ExecuteUpdate and
ExecuteQuery?
Answer Posted / anji
executeUpdate() - is used to update or modify the table, it
will returns howmany rows added/updated in the table.
executeQuery() - is used to retrieve the data from the
table. only for "select" query, this will return a
Resultset metadata
| Is This Answer Correct ? | 42 Yes | 2 No |
Post New Answer View All Answers
What's the architecture of a servlet package?
What is the purpose of dispatcherservlet properties?
What is the use of servletconfig interface?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is url encoding and url decoding
Explain the architechure of a servlet?
Write a simple servlet program to print the contents of html.
How do I support both get and post from the same servlet?
How to rectify errors in java servlet while compilation?
What are the advantages of cookies?
How the servlet is loaded?
What is the structure of the http response
Explain the difference between get and post method in servlet?
What does the term localization refer to?
How can you use a servlet to generate a plain text instead of html?