Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.54 KB

File metadata and controls

44 lines (32 loc) · 1.54 KB
title rowDeleted Method (SQLServerResultSet)
description rowDeleted Method (SQLServerResultSet)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerResultSet.rowDeleted
apitype Assembly

rowDeleted Method (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

Retrieves whether a row has been deleted.

Syntax

  
public boolean rowDeleted()  

Return Value

true if a row was deleted and deletions are detected. Otherwise, false.

Exceptions

SQLServerException

Remarks

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

A deleted row might leave a visible hole in a result set. This method can be used to detect holes in a result set. The value that is returned depends on whether this SQLServerResultSet object can detect deletions.

Note

[!INCLUDEssNoVersion] detects deleted rows for all updatable cursor types, though the detection is transient for forward and dynamic cursors.

See Also

SQLServerResultSet Members
SQLServerResultSet Class