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 jdbc template?
What are the conditions applies to varchar variable, when using in procedures?
What is preparedstatement in jdbc?
What is the benefit of having jdbcrowset implementation?
What is database deadlock ? How can we avoid them?
What is jdbc odbc bridge in java?
How can you make the connection using jdbc?
What is jdbc and why is it required?
How can we store and retrieve images from the database?
What does jdbc setmaxrows method do?
What is odbc. how is it related to sql cli?
How can I get information about foreign keys used in a table?
Why “no suitable driver” error occurs?
Differentiate between type_scroll_insensitive and type_scroll_sensitive.
How does jdbc connect to database?