What is the difference between ExecuteUpdate and
ExecuteQuery?
Answer Posted / p.l.n.kumar
ExecuteUpdate is used to execute Insert,Update and
Delete... statements.it's return type is 'int' .
ExecuteQuery is used to execute Select.... statements.It's
return type is 'Resultset' object.
Is This Answer Correct ? | 45 Yes | 8 No |
Post New Answer View All Answers
Give an example of code used for setting up connection with a driver.
Discuss the significances of jdbc.
What are jdbc?
Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?
What is the execute method in java?
How can we execute stored procedures using callablestatement?
Give an example for execution of sql statement.
What causes no suitable driver error?
Why we use while rs next ())?
What is odbc jdbc?
Where jdbc drivermanager class is used?
Which is better jpa or jdbc?
What is connection commit?
Why should we close database connections in java?
How to use JDBC to connect Microsoft Access?