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
What is the fastest type of JDBC driver?
What do you mean by metadata and why we are using it?
What are the jdbc statements?
How does jdbc connect to database?
Is it possible to connect to multiple databases simultaneously?
What is execute in java?
What is type 4 jdbc driver?
Explain the locking system in jdbc & its types?
What are the steps to connect to a database in java?
How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
How do I insert an image file (or other raw data) into a database?
Which interface is responsible for transaction management in jdbc?
What are the common tasks of JDBC?
What is difference between odbc and jdbc?
How can I use the JDBC API to access a desktop database like Microsoft Access over the network?