Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.32 KB

File metadata and controls

51 lines (38 loc) · 1.32 KB
title setShort 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.setShort
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 6a9171a4-3e44-44ea-a453-23f57e5320e9
author David-Engel
ms.author v-daenge

setShort Method (SQLServerPreparedStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the designated parameter to the given short value.

Syntax

  
public final void setShort(int index,  
                           short x)  

Parameters

index

An int that indicates the parameter number.

x

A short value.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class