Runs the SQL statement in this SQLServerPreparedStatement object, which must be an SQL INSERT, UPDATE or DELETE statement; or an 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.
另請參閱
參考
SQLServerPreparedStatement Class
概念
executeUpdate Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members