Sets the designated parameter to the given array of bytes.

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

Parameters

n

An integer that indicates the parameter number.

x

An array of bytes.

Exceptions

SQLServerException

Remarks

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

See Also