共用方式為


setBoolean Method (SQLServerPreparedStatement)

Sets the designated parameter to the given boolean value.

public final void setBoolean(int n,
                             boolean x)

參數

n

An int that indicates the parameter number.

x

A boolean value, either true or false.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerPreparedStatement Class

概念

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members