setShort Method (SQLServerPreparedStatement)

Sets the designated parameter to the given short value.


public final void setShort(int index,
                           short x)

Parameters

index

An int that indicates the parameter number.

x

A short value.

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

Show: