Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.44 KB

File metadata and controls

41 lines (30 loc) · 1.44 KB
title deleteRow Method (SQLServerResultSet)
description deleteRow Method (SQLServerResultSet)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/20/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerResultSet.deleteRow
apitype Assembly

deleteRow Method (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

Deletes the current row from thisSQLServerResultSet object and from the underlying database.

Syntax

public void deleteRow()  

Exceptions

SQLServerException

Remarks

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

This method cannot be called when the cursor is on the insert row.

When using keyset cursors, this method leaves a gap in the result set. You can test for this gap by using the rowDeleted method. The row numbers of the rows in the result set do not change.

See Also

SQLServerResultSet Members
SQLServerResultSet Class