what is difference between excute query ()and execute update
()?
Answer Posted / ashwani
execute query() returns a single resultset object.
exceute update() excecutes the insert, update and the delete
operation of the sql statement.This returns the integer
value or say the number of record affected by the SQL
statement execution.
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
What is the difference between conversation & casting?
What are the different tags provided in jstl?
How can we make string upper case or lower case?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
When will you define a method as static?
How do you access command-line arguments within the code?
extending thread class or implementing runnable interface. Which is better? : Java thread
Give us the name of the list layoutmanagers in java?
What is derived datatype?
What is better- service oriented or batch oriented solutions?
Explain about main() method in java ?
How many static init can you have?
What is math in java?
What is the use of callablestatement?
Differences between C and Java?