Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.52 KB

File metadata and controls

43 lines (33 loc) · 1.52 KB
title cancelRowUpdates Method (SQLServerResultSet) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerResultSet.cancelRowUpdates
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 2ecacca4-f7bc-4f5d-886a-da7747fdccae
author David-Engel
ms.author v-daenge

cancelRowUpdates Method (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

Cancels the updates made to the current row in this SQLServerResultSet object.

Syntax

  
public void cancelRowUpdates()  

Exceptions

SQLServerException

Remarks

This cancelRowUpdates method is specified by the cancelRowUpdates method in the java.sql.ResultSet interface.

This method can be called after calling an updater method and before calling the updateRow method to roll back the updates that were made to a row. If no updates have been made or updateRow has already been called, this method has no effect.

See Also

SQLServerResultSet Members
SQLServerResultSet Class