| title | executeUpdate Method () |
|---|---|
| description | executeUpdate Method () |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerPreparedStatement.executeUpdate () |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Runs the SQL statement in this SQLServerPreparedStatement object, which must be a SQL INSERT, UPDATE, MERGE, or DELETE statement; or a SQL statement that returns nothing, such as a DDL statement.
public int executeUpdate()
An int that indicates the number of rows affected, or 0 if using a DDL statement.
This executeUpdate method is specified by the executeUpdate method in the java.sql.PreparedStatement interface.
executeUpdate Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class