What is the difference between ExecuteUpdate and
ExecuteQuery?
Answer / 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 |
What types of DataSource objects are specified in the Optional Package?
Can we use the one instance of Statment to execute more than one query ?
How to handle when the database crashes while reading the data from the database?
What are the differences between statement and preparedstatement interface?
What are the steps to connect to a database in java?
Differentiate between a statement and a preparedstatement.
What is jdbc and jdbc drivers?
What do you mean by odbc?
What type of driver called is pure Java driver?
How do I find jdbc version?
Explain the steps in writing a java program using jdbc?
what happen if we set JDBC string to NULL?