Partager via


getUpdateCount Method (SQLServerStatement)

Retrieves the current result as an update count.

public final int getUpdateCount()

Valeur de retour

An int that contains the update count. If the returned result is a result set object or there are no more results, -1 is returned.

Exceptions

SQLServerException

Notes

This getUpdateCount method is specified by the getUpdateCount method in the java.sql.Statement interface.

Voir aussi

Référence

SQLServerStatement Class

Concepts

SQLServerStatement Methods
SQLServerStatement Members