deleteRow Method (SQLServerResultSet)

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 hole in the result set. You can test for this hole by using the rowDeleted method. The row numbers of the rows in the result set do not change.

See Also

Reference

SQLServerResultSet Class

Concepts

SQLServerResultSet Members