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
Explain web application directory arrangement?
What are Servlets?
What do you mean by httpservlet?
What do you mean by servlet?
What do you mean by mime type?
What exception should be thrown when servlet is not properly initialized?
How is the get () method different from the post() method?
What are the new features added to servlet 2.5?
What is servlet attributes and their scope?
What is a server side include (ssi)
What are the common methods that are included in the http servlet class?
How native code can be used in a servlet?
How to get the current httpsession object?
What is called a session?
How can I send user authentication information while making URL Connection?