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


Please Help Members By Posting Answers For Below Questions

What is java and its types?

549


What is the integer of 16?

533


What is a generic data type?

569


What is the name of the java compiler?

519


Write a java program to print fibonacci series?

534






What is token in java?

533


What is the difference between a method and a procedure?

541


Does sprintf add a null terminator?

558


How do you calculate square roots?

572


How do you sing an Applet ?

2028


What is break and continue statement?

611


What is a variable in java?

528


What is hashset in java?

524


What are the advantages of java over cpp?

551


Difference between Preemptive scheduling vs. Time slicing?

567