Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.4 KB

deleterow-method-sqlserverresultset.md

File metadata and controls

40 lines (29 loc) · 1.4 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
deleteRow Method (SQLServerResultSet)
deleteRow Method (SQLServerResultSet)
David-Engel
davidengel
01/20/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerResultSet.deleteRow
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