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 meant by jdbc?
What is jdbc vs odbc?
How does jdbc work?
Discuss the procedure of retrieving warnings?
What is the full form of jdbc and what is its purpose?
Can we have foreign key reference to a non primary key column ?
What are the common JDBC problems that you got and how do you solved them?
List some new features available in jdbc 4.0?
What are the new features available in jdbc 4.0?
How do I disallow NULL values in a table?
What is jdbc odbc connection?
How do you insert images into database using jdbc?
What protocol does jdbc use?
What is odbc and jdbc?
How to know howmuch data is truncated?