Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.3 KB

File metadata and controls

51 lines (38 loc) · 1.3 KB
title setByte 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.setByte
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 39c5ca20-d5f0-40dd-a853-29c3b8cd38e8
author David-Engel
ms.author v-daenge

setByte Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given byte value.

Syntax

  
public final void setByte(int n,  
                          byte x)  

Parameters

n

An int that indicates the parameter number.

x

A byte value.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class