Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.25 KB

setshort-method-sqlserverpreparedstatement.md

File metadata and controls

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

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