共用方式為


setBytes Method (SQLServerPreparedStatement)

Sets the designated parameter to the given array of bytes.

public final void setBytes(int n,
                           byte[] x)

參數

n

An int that indicates the parameter number.

x

An array of bytes.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerPreparedStatement Class

概念

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members