Updating the databaseUse executeUpdate when using SQL UPDATE commands:String update = "UPDATE user SET password='bar' WHERE user='foo'"; stmt.executeUpdate(update);
Next: PreparedStatements Up: Databases and JDBC Previous: getXXX methods   Contents |