PreparedStatement.executeUpdate
Interface Overview | Interface Members | This Package | All Packages
Syntax
public abstract int executeUpdate() throws SQLException
Returns
either the row count for INSERT, UPDATE or DELETE; or 0 for SQL statements that return nothing
Description
Execute a SQL INSERT, UPDATE or DELETE statement. In addition, SQL statements that return nothing such as SQL DDL statements can be executed.
Exceptions
SQLException if a database-access error occurs.