Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.52 KB

File metadata and controls

45 lines (34 loc) · 1.52 KB
title deleteRow Method (SQLServerResultSet) | Microsoft Docs
ms.custom
ms.date 01/20/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerResultSet.deleteRow
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid aa04a644-c7c2-4738-8b6e-7fea566d2c16
author David-Engel
ms.author v-daenge

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