Difference between execute and execute update in java while using JDBC

Showing Answers 1 - 1 of 1 Answers

Murugavel

  • Aug 29th, 2006
 

Hi,

I hope the difference is:

execute() - returns boolean value (true implies that the query returns some Resultset, where false is not)

executeUpdate() - returns integer value (the value implies number of rows affected)

bye..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions