共用方式為


setTime Method (int, java.sql.Time)

Sets the designated parameter to the given time value.

public final void setTime(int n,
                          java.sql.Time x)

參數

n

An int that indicates the parameter number.

x

A Time object.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerPreparedStatement Class

概念

setTime Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members