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
Is jdbc a middleware?
What is a jdbc connection?
How to check jdbc driver version in websphere?
How do I find whether a parameter exists in the request object?
What are the utilities of the callablestatement?
Describe the steps needed to execute a sql query using jdbc.
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
Which package contains jdbc api?
How can you retrieve data from the resultset using jdbc?
What is jdbc and jdbc drivers?
Name the method, which is used to prepare a callablestatement.
Give steps to connect to the db using jdbc?
What is jdbc drivers in java?
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.
What are the advantages of using preparedstatement over statement?