What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / bhoopesh alladi
execute()- is for invoking the functions or stored
procedures of SQL by the CallableStatement.
executeUpdata()- is for the operations such as insert,
update or delete on SQL by PreparedStatement, Statement.
executeQuery() - is for operation select of Sql by
PreparedStatement or Statement.
| Is This Answer Correct ? | 69 Yes | 21 No |
Post New Answer View All Answers
What is the meaning of connection?
How will you perform truncation using JDBC?
How can I create a custom RowSetMetaData object from scratch?
What is a JDBC 2.0 DataSource?
Is jdbc an api?
What types of DataSource objects are specified in the Optional Package?
What is JDBC ResultSet?
Why is jdbc used?
How can you load the drivers?
What is while rs next ())?
What is the execute method in java?
What class.forname will do while loading drivers of jdbc?
Define preparedstatement.
How to use JDBC to connect Microsoft Access?
What are the types of statements in jdbc?