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 are the different types of classes in the api component?
Why is odbc needed?
What is the function of setautocommit?
How to make updates to updatable result sets in jdbc?
What is drivermanager in java?
What is the jdbc rowset?
What is jdbc drivers in java?
How can I write to the log used by DriverManager and JDBC drivers?
What is new in JDBC 2.0?
Explain the JDBC Architecture?
What is db client?
Is jdbc a framework?
What are the three basic components of the odbc architecture?
What is the difference between jdbc and jndi?
What is in terms of jdbc a datasource?