| title | setBytes Method (SQLServerPreparedStatement) |
|---|---|
| description | setBytes Method (SQLServerPreparedStatement) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerPreparedStatement.setBytes |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
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.
This setBytes method is specified by the setBytes method in the java.sql.PreparedStatement interface.
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class