Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.52 KB

File metadata and controls

38 lines (28 loc) · 1.52 KB
title setLastUpdateCount Method (SQLServerDataSource)
description setLastUpdateCount Method (SQLServerDataSource)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDataSource.setLastUpdateCount
apitype Assembly

setLastUpdateCount Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public void setLastUpdateCount(boolean lastUpdateCount)  

Parameters

lastUpdateCount

true if lastUpdateCount is enabled. Otherwise, false.

Remarks

If the lastUpdateCount property is set to true, [!INCLUDEjdbcNoVersion] 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