Redigera

Dela via


getLastUpdateCount Method (SQLServerDataSource)

Download JDBC driver

Returns a Boolean value that indicates if the lastUpdateCount property is enabled.

Syntax

  
public boolean getLastUpdateCount()  

Return Value

true if lastUpdateCount is enabled. Otherwise, false.

Remarks

If the lastUpdateCount property is set to true, the Microsoft JDBC Driver for SQL Server will return only the last update count from a SQL statement passed to the server. If the lastUpdateCount property is set to false, the driver will return all update counts including those returned by any triggers that may have fired. If the lastUpdateCount property is not set, the getLastUpdateCount method returns the default value of true.

See Also

SQLServerDataSource Members
SQLServerDataSource Class