Freigeben über


executeUpdate Method ()

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()

Rückgabewert

An int that indicates the number of rows affected, or 0 if using a DDL statement.

Ausnahmen

SQLServerException

Hinweise

This executeUpdate method is specified by the executeUpdate method in the java.sql.PreparedStatement interface.

Siehe auch

Referenz

SQLServerPreparedStatement Class

Konzepte

executeUpdate Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members