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
Which is the methods of generated servlet?
What methods do you use in servlet - applet communication?
How do you get the ip address of the client in servlet?
What is the type of method for sending request from http server?
What is the use of servlet context?
When servlet is loaded?
How the JSP file will be executed on the Server side?
What is called Scriptlet?
What is the functionality of actionservlet and requestprocessor?
How to make sure a servlet is loaded at the application startup?
What is the use of httpservletresponsewrapper?
What is the use of request dispatcher interface?
Is servlet thread safe?
How httpservlet is different from the genericservlet?
If some new data has entered the database, explain how can a servlet refresh automatically?