Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

executeUpdate instead of executeQuery for select statements

843859Aug 17 2007 — edited Aug 19 2007
We can execute a select query using executeQuery. But the select query can
also be executed using executeUpdate. What is the difference in using the 2.
Why dont we use executeUpdate itself in place of executeQuery
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2007
Added on Aug 17 2007
3 comments
345 views