Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.31 KB

File metadata and controls

51 lines (38 loc) · 1.31 KB
title setBytes Method (SQLServerPreparedStatement) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerPreparedStatement.setBytes
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 52e99ef9-b786-4a14-bfc5-4162e46aafbb
author David-Engel
ms.author v-daenge

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