共用方式為


setInt Method (SQLServerPreparedStatement)

Sets the designated parameter to the given int value.

public final void setInt(int n,
                         int value)

參數

n

An int that indicates the parameter number.

value

An int value.

例外狀況

SQLServerException

備註

This setInt method is specified by the setInt method in the java.sql.PreparedStatement interface.

另請參閱

參考

SQLServerPreparedStatement Class

概念

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members