What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / bharat
executeUpdata()= is for the operations such as Insert,
update and delete on SQL by PreparedStatement or Statement.
executeQuery()= is for operation select of Sql by
PreparedStatement or Statement.
Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
How does a file store compare with a jdbc store?
How does a custom RowSetReader get called from a CachedRowSet?
How to update a resultset programmatically?
What are different types of JDBC Drivers?
Write an sql to find all records having all numeric characters in a field ?
How many ways that we can view a result set?
Differentiate between stored procedure and functions?
What is the return type of execute, executequery and executeupdate?
What is the purpose of jdbc resultset interface?
What do you mean by batch processing in jdbc?
Which interface is responsible for transaction management in jdbc?
Is odbc an api?
What is a connection string used for?
How many types of JDBC Drivers are present and what are they?
Why should we close database connections in java?