Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
getUpdateCount Method (SQLServerStatement)
Collapse the table of content
Expand the table of content

getUpdateCount Method (SQLServerStatement)

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.

© 2015 Microsoft