deleteRow Method (SQLServerResultSet)

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

public void deleteRow()

异常

SQLServerException

备注

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.

另请参见

参考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members