File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes executeUpdate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "executeUpdate" Watch "executeUpdate" New topic


sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1240
what is the different between executeUpdate and executeQuery???
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
As usual, the answer is in the API doc: java.sql.Statement.

Oh, one question mark was been enough. You really don't need to put countless behind, that would only annoy others.
I agree. Here's the link:
subject: executeUpdate
It's not a secret anymore!