Düzenle

Aracılığıyla paylaş


deleteRow Method (SQLServerResultSet)

Download JDBC driver

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