Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.19 KB

setbytes-method-sqlserverpreparedstatement.md

File metadata and controls

46 lines (33 loc) · 1.19 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
setBytes Method (SQLServerPreparedStatement)
setBytes Method (SQLServerPreparedStatement)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerPreparedStatement.setBytes
Assembly

setBytes Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given array of bytes.

Syntax

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

Parameters

n

An int 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

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class