title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | apilocation | apiname | apitype |
---|---|---|---|---|---|---|---|---|---|---|
getUpdateCount Method (SQLServerStatement) |
getUpdateCount Method (SQLServerStatement) |
David-Engel |
davidengel |
01/19/2017 |
sql |
connectivity |
reference |
sqljdbc.jar |
SQLServerStatement.getUpdateCount |
Assembly |
[!INCLUDEDriver_JDBC_Download]
Retrieves the current result as an update count.
public final int getUpdateCount()
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.
This getUpdateCount method is specified by the getUpdateCount method in the java.sql.Statement interface.