共用方式為


setFloat Method (SQLServerPreparedStatement)

Sets the designated parameter to the given float value.

public final void setFloat(int n,
                           float x)

參數

n

An int that indicates the parameter number.

x

A float value.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerPreparedStatement Class

概念

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members