What is the difference between ExecuteUpdate and
ExecuteQuery?
Answer Posted / p.l.n.kumar
ExecuteUpdate is used to execute Insert,Update and
Delete... statements.it's return type is 'int' .
ExecuteQuery is used to execute Select.... statements.It's
return type is 'Resultset' object.
| Is This Answer Correct ? | 45 Yes | 8 No |
Post New Answer View All Answers
What is executeupdate in java?
What is JDBC Savepoint? How to use it?
Does JDBC support stored procedures?
What is the return type of class.forname() method?
What is the purpose of the jdbc resultset interface?
What is connection data?
Where is ojdbc14 jar located?
What is database deadlock ? How can we avoid them?
code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)
What is “dirty read” in JDBC? Which isolation level prevents dirty read?
What is difference between jdbc and odbc?
What do you mean by metadata and why we are using it?
What does the jdbc resultsetmetadata interface?
Is jdbc part of j2ee?
What are drivers available?