共用方式為


cancelRowUpdates Method (SQLServerResultSet)

Cancels the updates made to the current row in this SQLServerResultSet object.

public void cancelRowUpdates()

例外狀況

SQLServerException

備註

This cancelRowUpdates method is specified by the cancelRowUpdates method in the java.sql.ResultSet interface.

This method can be called after calling an updater method and before calling the updateRow method to roll back the updates that were made to a row. If no updates have been made or updateRow has already been called, this method has no effect.

另請參閱

參考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members