共用方式為


setLong Method (SQLServerPreparedStatement)

Sets the designated parameter to the given long value.

public final void setLong(int n,
                          long x)

參數

n

An int that indicates the parameter number.

x

A long value.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerPreparedStatement Class

概念

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members