This method of the Connection class has the following signatures:
executeUpdate(String commandText)
executeUpdate(String commandText, int options)
public int executeUpdate(String commandText);
Returns an integer designating the affected records.
commandText | A String that contains the SQL statement, table name, stored procedure, a URL, or provider-specific text to execute. |
public int executeUpdate(String commandText, int options);
Returns an integer designating the affected records.
commandText | A String that contains the SQL statement, table name, stored procedure, a URL, or provider-specific text to execute. |
options | Optional. A Long value that indicates how the provider should evaluate the CommandText property of the Command object. Can be one or more CommandType or ExecuteOption values. |